diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-03-07 16:37:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:52:31 -0500 |
commit | 967bff7d88f478b49bba9e04244fd9239c0cf3c8 (patch) | |
tree | eb2d0be36f7724570e7c7519ec9e0f1ed470e794 | |
parent | bdfbcf5d8afad8ad1b088fea44bc03334def089e (diff) | |
download | samba-967bff7d88f478b49bba9e04244fd9239c0cf3c8.tar.gz samba-967bff7d88f478b49bba9e04244fd9239c0cf3c8.tar.bz2 samba-967bff7d88f478b49bba9e04244fd9239c0cf3c8.zip |
r13959: make more functions public
metze
(This used to be commit a5b95a7741085a9adb04b8b63066d1b3d0f024ae)
-rw-r--r-- | source4/lib/util/dprintf.c | 8 | ||||
-rw-r--r-- | source4/lib/util/util_file.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/source4/lib/util/dprintf.c b/source4/lib/util/dprintf.c index 64227148fd..916db3af93 100644 --- a/source4/lib/util/dprintf.c +++ b/source4/lib/util/dprintf.c @@ -31,7 +31,7 @@ #include "includes.h" -int d_vfprintf(FILE *f, const char *format, va_list ap) _PRINTF_ATTRIBUTE(2,0) +_PUBLIC_ int d_vfprintf(FILE *f, const char *format, va_list ap) _PRINTF_ATTRIBUTE(2,0) { char *p, *p2; int ret, maxlen, clen; @@ -71,7 +71,7 @@ again: } -int d_fprintf(FILE *f, const char *format, ...) _PRINTF_ATTRIBUTE(2,3) +_PUBLIC_ int d_fprintf(FILE *f, const char *format, ...) _PRINTF_ATTRIBUTE(2,3) { int ret; va_list ap; @@ -85,7 +85,7 @@ int d_fprintf(FILE *f, const char *format, ...) _PRINTF_ATTRIBUTE(2,3) static FILE *outfile; -int d_printf(const char *format, ...) _PRINTF_ATTRIBUTE(1,2) +_PUBLIC_ int d_printf(const char *format, ...) _PRINTF_ATTRIBUTE(1,2) { int ret; va_list ap; @@ -101,7 +101,7 @@ int d_printf(const char *format, ...) _PRINTF_ATTRIBUTE(1,2) /* interactive programs need a way of tell d_*() to write to stderr instead of stdout */ -void display_set_stderr(void) +_PUBLIC_ void display_set_stderr(void) { outfile = stderr; } diff --git a/source4/lib/util/util_file.c b/source4/lib/util/util_file.c index 430472f25a..b35d267582 100644 --- a/source4/lib/util/util_file.c +++ b/source4/lib/util/util_file.c @@ -364,7 +364,7 @@ _PUBLIC_ BOOL file_exists(const char *path) return (stat(path, &st) == 0); } -int vfdprintf(int fd, const char *format, va_list ap) _PRINTF_ATTRIBUTE(2,0) +_PUBLIC_ int vfdprintf(int fd, const char *format, va_list ap) _PRINTF_ATTRIBUTE(2,0) { char *p; int len, ret; @@ -379,7 +379,7 @@ int vfdprintf(int fd, const char *format, va_list ap) _PRINTF_ATTRIBUTE(2,0) return ret; } -int fdprintf(int fd, const char *format, ...) _PRINTF_ATTRIBUTE(2,3) +_PUBLIC_ int fdprintf(int fd, const char *format, ...) _PRINTF_ATTRIBUTE(2,3) { va_list ap; int ret; |