diff options
Diffstat (limited to 'src/bitmap/snfread.c')
-rw-r--r-- | src/bitmap/snfread.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/bitmap/snfread.c b/src/bitmap/snfread.c index 375fa5a..848db90 100644 --- a/src/bitmap/snfread.c +++ b/src/bitmap/snfread.c @@ -49,7 +49,7 @@ other dealings in this Software without prior written authorization from The Open Group. */ -/* $XFree86: xc/lib/font/bitmap/snfread.c,v 1.11 2003/01/12 03:55:46 tsi Exp $ */ +/* $XFree86: xc/lib/font/bitmap/snfread.c,v 1.13 2003/11/18 01:17:04 dawes Exp $ */ #ifndef FONTMODULE #include <ctype.h> @@ -59,28 +59,14 @@ from The Open Group. #include "bitmap.h" #include "snfstr.h" -#if NeedVarargsPrototypes #include <stdarg.h> -#else -#include <varargs.h> -#endif void -#if NeedVarargsPrototypes -snfError(char* message, ...) -#else -snfError (message, va_alist) - char* message; - va_dcl -#endif +snfError(const char* message, ...) { va_list args; -#if NeedVarargsPrototypes va_start(args, message); -#else - va_start(args); -#endif fprintf(stderr, "SNF Error: "); vfprintf(stderr, message, args); |