28 lines
913 B
Plaintext
28 lines
913 B
Plaintext
$OpenBSD: patch-utils_h,v 1.1 2004/01/04 18:58:44 espie Exp $
|
|
--- utils.h.orig 2004-01-04 19:55:13.000000000 +0100
|
|
+++ utils.h 2004-01-04 19:55:51.000000000 +0100
|
|
@@ -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 */
|