freebsd-ports/sysutils/tcplist/files/patch-utils.h
Kirill Ponomarev a9d759415a - Fix build on -current
PR:		57968
Submitted by:	Michael Edenfield <kutulu@kutulu.org>
2003-10-13 20:01:34 +00:00

26 lines
811 B
C

--- utils.h.orig Mon Oct 13 13:14:12 2003
+++ utils.h Mon Oct 13 13:15:00 2003
@@ -50,19 +50,19 @@
/* Error - print like fprintf(stderr, ...) and die. Progname included at
beginning of message, newline at end. */
-extern void Error();
+extern void Error(char *, ...);
/* Warning - like error, without dying */
-extern void Warning();
+extern void Warning(char *, ...);
extern char *mylib_malloc();
extern char *mylib_realloc();
extern char *mylib_scopy();
extern char *mylib_srcopy();
-extern char *cat();
+extern char *cat(char *, ...);
extern char *getstr();
extern FILE *efopen();
extern void efclose();
-extern void dfprintf();
+extern void dfprintf(int, FILE *, char *, ...);
extern char *progname; /* application's name. Used by Error, Warning. */
extern int d; /* debug level */