Module Name: src
Committed By: christos
Date: Sun Jan 25 22:22:54 UTC 2015
Modified Files:
src/external/bsd/blacklist/bin: support.h
Log Message:
mark log function as printflike
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/blacklist/bin/support.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/blacklist/bin/support.h
diff -u src/external/bsd/blacklist/bin/support.h:1.4 src/external/bsd/blacklist/bin/support.h:1.5
--- src/external/bsd/blacklist/bin/support.h:1.4 Sat Jan 24 01:05:08 2015
+++ src/external/bsd/blacklist/bin/support.h Sun Jan 25 17:22:54 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: support.h,v 1.4 2015/01/24 06:05:08 christos Exp $ */
+/* $NetBSD: support.h,v 1.5 2015/01/25 22:22:54 christos Exp $ */
/*-
* Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -34,8 +34,10 @@
__BEGIN_DECLS
const char *fmttime(char *, size_t, time_t);
const char *fmtydhms(char *, size_t, time_t);
-void vdlog(int, const char *, va_list);
-void dlog(int, const char *, ...);
+void vdlog(int, const char *, va_list)
+ __attribute__((__format__(__printf__, 2, 0)));
+void dlog(int, const char *, ...)
+ __attribute__((__format__(__printf__, 2, 3)));
__END_DECLS
#endif /* _SUPPORT_H */