C中具有相同名称的函数

Lob*_*ter 0 c function

我正在尝试编译旧项目,但是我收到了一个错误.该项目实现了功能dprintf,这是一种printf功能.然而,当我今天尝试编译该项目时,我发现dprintf已经定义了stdio.h.所以我的问题是 - 如何隐藏标准dprintf函数,因为现在我经常遇到这样的错误:

ntreg.c:82: error: conflicting types for 'dprintf'
/usr/include/stdio.h:397: note: previous declaration of 'dprintf' was here
ntreg.c:93: error: conflicting types for 'dprintf'
/usr/include/stdio.h:397: note: previous declaration of 'dprintf' was here
Run Code Online (Sandbox Code Playgroud)

pmg*_*pmg 6

dprintf() 标准没有定义.

如果为标准C配置编译器,则不应再公开该函数

gcc -std=c99 -pedantic ...
Run Code Online (Sandbox Code Playgroud)