diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-06-20 15:02:46 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-06-21 09:35:34 +1000 |
commit | f3d6b742b18589306e0f19cc52e06f108fc1268e (patch) | |
tree | f27fc75fb273f477fbda6b8cce6a367283aaf097 /source3 | |
parent | 994abd2dea2164bb005209b77ec2608b4a5fe4e8 (diff) | |
download | samba-f3d6b742b18589306e0f19cc52e06f108fc1268e.tar.gz samba-f3d6b742b18589306e0f19cc52e06f108fc1268e.tar.bz2 samba-f3d6b742b18589306e0f19cc52e06f108fc1268e.zip |
lib/util Make unused d_vfprintf() static
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/includes.h | 2 | ||||
-rw-r--r-- | source3/lib/dprintf.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index e6b70c782c..08d5d96ab5 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -608,8 +608,6 @@ void sys_adminlog(int priority, const char *format_str, ...) PRINTF_ATTRIBUTE(2, /* PRINTFLIKE2 */ int fstr_sprintf(fstring s, const char *fmt, ...) PRINTF_ATTRIBUTE(2,3); -int d_vfprintf(FILE *f, const char *format, va_list ap) PRINTF_ATTRIBUTE(2,0); - int smb_xvasprintf(char **ptr, const char *format, va_list ap) PRINTF_ATTRIBUTE(2,0); int asprintf_strupper_m(char **strp, const char *fmt, ...) PRINTF_ATTRIBUTE(2,3); diff --git a/source3/lib/dprintf.c b/source3/lib/dprintf.c index ad3c79a8d5..55ea7f9888 100644 --- a/source3/lib/dprintf.c +++ b/source3/lib/dprintf.c @@ -31,7 +31,7 @@ #include "includes.h" #include "intl/lang_tdb.h" - int d_vfprintf(FILE *f, const char *format, va_list ap) +static int d_vfprintf(FILE *f, const char *format, va_list ap) { char *p = NULL, *p2 = NULL; int ret, maxlen, clen; |