svn commit: samba r7674 - in branches/SAMBA_4_0/source/utils: .
abartlet at samba.org
abartlet at samba.org
Fri Jun 17 06:13:48 GMT 2005
Author: abartlet
Date: 2005-06-17 06:13:47 +0000 (Fri, 17 Jun 2005)
New Revision: 7674
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7674
Log:
Fix the printf() attribute suggestion by correctly prototyping, then
declaring the static function. The attribute only works on the
prototype, not the function.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/utils/getntacl.c
Changeset:
Modified: branches/SAMBA_4_0/source/utils/getntacl.c
===================================================================
--- branches/SAMBA_4_0/source/utils/getntacl.c 2005-06-17 05:43:31 UTC (rev 7673)
+++ branches/SAMBA_4_0/source/utils/getntacl.c 2005-06-17 06:13:47 UTC (rev 7674)
@@ -27,7 +27,9 @@
#if HAVE_XATTR_SUPPORT
-static void ntacl_print_debug_helper(struct ndr_print *ndr, const char *format, ...) _PRINTF_ATTRIBUTE(2,3)
+static void ntacl_print_debug_helper(struct ndr_print *ndr, const char *format, ...) PRINTF_ATTRIBUTE(2,3);
+
+static void ntacl_print_debug_helper(struct ndr_print *ndr, const char *format, ...)
{
va_list ap;
char *s = NULL;
More information about the samba-cvs
mailing list