=================================================================== RCS file: /cvs/prex-old/include/sys/syslog.h,v retrieving revision 1.1.1.1 retrieving revision 1.1.1.1.2.1 diff -u -r1.1.1.1 -r1.1.1.1.2.1 --- prex-old/include/sys/syslog.h 2008/06/03 10:38:44 1.1.1.1 +++ prex-old/include/sys/syslog.h 2008/08/13 17:12:28 1.1.1.1.2.1 @@ -162,27 +162,15 @@ #ifndef KERNEL -/* - * Don't use va_list in the vsyslog() prototype. Va_list is typedef'd in two - * places ( and ), so if we include one - * of them here we may collide with the utility's includes. It's unreasonable - * for utilities to have to include one of them to include syslog.h, so we get - * _BSD_VA_LIST_ from and use it. - */ -#include +#include #include __BEGIN_DECLS void closelog(void); void openlog(const char *, int, int); int setlogmask(int); -#ifdef DEBUG void syslog(int, const char *, ...); -void vsyslog(int, const char *, _BSD_VA_LIST_); -#else -#define syslog(fmt...) -#define vsyslog(fmt,valist) -#endif +void vsyslog(int, const char *, va_list); __END_DECLS #endif /* !KERNEL */