Index: ossp-pkg/fsl/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/fsl/ChangeLog,v rcsdiff -q -kk '-r1.29' '-r1.30' -u '/v/ossp/cvs/ossp-pkg/fsl/ChangeLog,v' 2>/dev/null --- ChangeLog 2004/04/22 09:32:50 1.29 +++ ChangeLog 2004/04/22 10:30:31 1.30 @@ -10,6 +10,11 @@ Changes between 1.4.0 and 1.5a1 (22-Apr-2004) + *) Relocate vsyslog() function to avoid wrong implicit declaration + on platforms not providing any vsyslog(3), i.e. Tru64. Reported + by Karl Vogel. + [Thomas Lotterer ] + *) Improve name space cleanness embedding a OSSP pcre which offers PREFIX logic and modify configure.ac to pass down the prefix. [Thomas Lotterer ] Index: ossp-pkg/fsl/fsl.c RCS File: /v/ossp/cvs/ossp-pkg/fsl/fsl.c,v rcsdiff -q -kk '-r1.66' '-r1.67' -u '/v/ossp/cvs/ossp-pkg/fsl/fsl.c,v' 2>/dev/null --- fsl.c 2004/01/09 10:48:27 1.66 +++ fsl.c 2004/04/22 10:30:31 1.67 @@ -927,21 +927,6 @@ return oldmask; } -/* faked POSIX API function syslog(3) */ -void syslog(int priority, const char *message, ...) -{ - va_list args; - - /* tracing */ - fsldebug(L2_LEVEL_TRACE, "fsl in syslog(3); go ahead using vsyslog(3)"); - - /* wrap around vsyslog(3) */ - va_start(args, message); - vsyslog(priority, message, args); - va_end(args); - return; -} - /* faked POSIX API function vsyslog(3) */ #ifdef HAVE_VSYSLOG_USVALIST void vsyslog(int priority, const char *fmt, __va_list args) @@ -1004,3 +989,18 @@ return; } +/* faked POSIX API function syslog(3) */ +void syslog(int priority, const char *message, ...) +{ + va_list args; + + /* tracing */ + fsldebug(L2_LEVEL_TRACE, "fsl in syslog(3); go ahead using vsyslog(3)"); + + /* wrap around vsyslog(3) */ + va_start(args, message); + vsyslog(priority, message, args); + va_end(args); + return; +} +