Module Name:    src
Committed By:   christos
Date:           Wed Oct 14 16:01:29 UTC 2015

Modified Files:
        src/external/bsd/blacklist/bin: internal.h

Log Message:
syslog attribute.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/bsd/blacklist/bin/internal.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/internal.h
diff -u src/external/bsd/blacklist/bin/internal.h:1.12 src/external/bsd/blacklist/bin/internal.h:1.13
--- src/external/bsd/blacklist/bin/internal.h:1.12	Tue Jan 27 14:40:37 2015
+++ src/external/bsd/blacklist/bin/internal.h	Wed Oct 14 12:01:29 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: internal.h,v 1.12 2015/01/27 19:40:37 christos Exp $	*/
+/*	$NetBSD: internal.h,v 1.13 2015/10/14 16:01:29 christos Exp $	*/
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -47,7 +47,11 @@ extern const char *rulename;
 extern const char *controlprog;
 extern struct ifaddrs *ifas;
 
+#if !defined(__syslog_attribute__) && !defined(__syslog__)
+#define __syslog__ __printf__
+#endif
+
 void (*lfun)(int, const char *, ...)
-    __attribute__((__format__(__printf__, 2, 3)));
+    __attribute__((__format__(__syslog__, 2, 3)));
 
 #endif /* _INTERNAL_H */

Reply via email to