svn commit: samba r13959 - in branches/SAMBA_4_0/source/lib/util: .

metze at samba.org metze at samba.org
Tue Mar 7 16:37:35 GMT 2006


Author: metze
Date: 2006-03-07 16:37:35 +0000 (Tue, 07 Mar 2006)
New Revision: 13959

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13959

Log:
make more functions public

metze
Modified:
   branches/SAMBA_4_0/source/lib/util/dprintf.c
   branches/SAMBA_4_0/source/lib/util/util_file.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/util/dprintf.c
===================================================================
--- branches/SAMBA_4_0/source/lib/util/dprintf.c	2006-03-07 16:33:36 UTC (rev 13958)
+++ branches/SAMBA_4_0/source/lib/util/dprintf.c	2006-03-07 16:37:35 UTC (rev 13959)
@@ -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 @@
 }
 
 
-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 @@
 
 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 @@
 
 /* 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;
 }

Modified: branches/SAMBA_4_0/source/lib/util/util_file.c
===================================================================
--- branches/SAMBA_4_0/source/lib/util/util_file.c	2006-03-07 16:33:36 UTC (rev 13958)
+++ branches/SAMBA_4_0/source/lib/util/util_file.c	2006-03-07 16:37:35 UTC (rev 13959)
@@ -364,7 +364,7 @@
 	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 @@
 	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;



More information about the samba-cvs mailing list