openbsd-ports/sysutils/tcplist/patches/patch-utils_h

28 lines
891 B
Plaintext
Raw Normal View History

$OpenBSD: patch-utils_h,v 1.3 2012/01/17 17:08:16 sthen Exp $
--- utils.h.orig Tue Jan 17 16:38:38 2012
+++ utils.h Tue Jan 17 16:38:39 2012
2004-01-04 13:58:44 -05:00
@@ -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(const char *, ...);
/* Warning - like error, without dying */
-extern void Warning();
+extern void Warning(const 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 *, const char *, ...);
extern char *progname; /* application's name. Used by Error, Warning. */
extern int d; /* debug level */