@@ -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 */