--- iflib/lutil.c.orig Sun Feb 1 23:11:53 1998 +++ iflib/lutil.c Mon Aug 11 17:29:35 2003 @@ -4,7 +4,11 @@ #include #include #include +#ifdef HAS_STDARG_H +#include +#else #include +#endif #include #include #ifdef HAS_SYSLOG @@ -126,17 +130,27 @@ syslog(level,"\terrno=%d : %s",\ errno,strerror(errno)); +#ifdef HAS_STDARG_H +void loginf(char *fmt, ...) +{ + va_list args; +#else void loginf(va_alist) va_dcl { va_list args; char *fmt; +#endif #ifndef HAS_SYSLOG int oldmask; #endif +#ifdef HAS_STDARG_H + va_start(args, fmt); +#else va_start(args); fmt=va_arg(args, char*); +#endif if (verbose) { PRINT_DEBUG(fmt,args); @@ -166,17 +180,27 @@ return; } +#ifdef HAS_STDARG_H +void logerr(char *fmt, ...) +{ + va_list args; +#else void logerr(va_alist) va_dcl { va_list args; char *fmt; +#endif #ifndef HAS_SYSLOG int oldmask; #endif +#ifdef HAS_STDARG_H + va_start(args, fmt); +#else va_start(args); fmt=va_arg(args, char*); +#endif if (verbose) { PRINT_DEBUG(fmt,args); @@ -206,16 +230,26 @@ return; } +#ifdef HAS_STDARG_H +void debug(unsigned long level, char *fmt, ...) +{ + va_list args; +#else void debug(va_alist) va_dcl { va_list args; unsigned long level; char *fmt; +#endif +#ifdef HAS_STDARG_H + va_start(args, fmt); +#else va_start(args); level=va_arg(args, unsigned long); fmt=va_arg(args, char*); +#endif if ((verbose && (level == 0)) || (verbose & (1 << (level-1)))) { 'wayland'>wayland FreeBSD graphics obsolete development ports (https://github.com/freebsd/freebsd-ports-graphics)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Update from v0.15 to v0.20aaron2006-06-102-4/+4
* - Updated from v0.14 to v0.15aaron2006-05-252-4/+4
* Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-2/+2
* - updated from v0.13 to v0.14aaron2005-12-202-4/+4
* - update port from v0.12 to v0.13aaron2005-11-222-4/+4
* - update port from v0.08 to v0.12aaron2005-11-213-10/+10