svn rev #21637: trunk/src/slave/
raeburn@MIT.EDU
raeburn at MIT.EDU
Tue Dec 30 00:45:07 EST 2008
http://src.mit.edu/fisheye/changelog/krb5/?cs=21637
Commit By: raeburn
Log Message:
Change kpropd_com_err_proc to prototype style, add format attribute.
Changed Files:
U trunk/src/slave/kpropd.c
Modified: trunk/src/slave/kpropd.c
===================================================================
--- trunk/src/slave/kpropd.c 2008-12-30 05:42:04 UTC (rev 21636)
+++ trunk/src/slave/kpropd.c 2008-12-30 05:45:06 UTC (rev 21637)
@@ -987,11 +987,20 @@
}
static void
-kpropd_com_err_proc(whoami, code, fmt, args)
- const char *whoami;
- long code;
- const char *fmt;
- va_list args;
+kpropd_com_err_proc(const char *whoami,
+ long code,
+ const char *fmt,
+ va_list args)
+#if !defined(__cplusplus) && (__GNUC__ > 2)
+ __attribute__((__format__(__printf__, 3, 0)))
+#endif
+ ;
+
+static void
+kpropd_com_err_proc(const char *whoami,
+ long code,
+ const char *fmt,
+ va_list args)
{
char error_buf[8096];
More information about the cvs-krb5
mailing list