Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/blacklist/bin syslog attribute.
details: https://anonhg.NetBSD.org/src/rev/deea029fa502
branches: trunk
changeset: 341017:deea029fa502
user: christos <christos%NetBSD.org@localhost>
date: Wed Oct 14 16:01:29 2015 +0000
description:
syslog attribute.
diffstat:
external/bsd/blacklist/bin/internal.h | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r c4a0caeb9f99 -r deea029fa502 external/bsd/blacklist/bin/internal.h
--- a/external/bsd/blacklist/bin/internal.h Wed Oct 14 16:00:17 2015 +0000
+++ b/external/bsd/blacklist/bin/internal.h Wed Oct 14 16:01:29 2015 +0000
@@ -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 *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 */
Home |
Main Index |
Thread Index |
Old Index