Author: metze
Date: 2006-05-16 00:37:13 +0000 (Tue, 16 May 2006)
New Revision: 15629

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

Log:
fix some warnings

metze
Modified:
   branches/SAMBA_4_0/source/librpc/ndr/libndr.h
   branches/SAMBA_4_0/source/librpc/ndr/ndr.c


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/ndr/libndr.h
===================================================================
--- branches/SAMBA_4_0/source/librpc/ndr/libndr.h       2006-05-16 00:35:57 UTC 
(rev 15628)
+++ branches/SAMBA_4_0/source/librpc/ndr/libndr.h       2006-05-16 00:37:13 UTC 
(rev 15629)
@@ -104,7 +104,7 @@
        uint32_t flags; /* LIBNDR_FLAG_* */
        uint32_t depth;
        struct ndr_token_list *switch_list;
-       void (*print)(struct ndr_print *, const char *, ...);
+       void (*print)(struct ndr_print *, const char *, ...) 
PRINTF_ATTRIBUTE(2,3);
        void *private_data;
 };
 

Modified: branches/SAMBA_4_0/source/librpc/ndr/ndr.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/ndr/ndr.c  2006-05-16 00:35:57 UTC (rev 
15628)
+++ branches/SAMBA_4_0/source/librpc/ndr/ndr.c  2006-05-16 00:37:13 UTC (rev 
15629)
@@ -201,7 +201,7 @@
        free(s);
 }
 
-static void ndr_print_string_helper(struct ndr_print *ndr, const char *format, 
...) _PRINTF_ATTRIBUTE(2,3)
+_PUBLIC_ void ndr_print_string_helper(struct ndr_print *ndr, const char 
*format, ...) _PRINTF_ATTRIBUTE(2,3)
 {
        va_list ap;
        int i;

Reply via email to