freebsd-ports/shells/bash1/files/patch-error.h
David E. O'Brien 47846ba268 Fix build on -current (varargs -> stdarg)
[don't propagate the poorly named patch files from the PR]

PR:		56146
Submitted by:	Michael Edenfield <kutulu@kutulu.org>
2003-08-31 08:08:47 +00:00

16 lines
577 B
C

--- error.h.orig Fri Aug 29 12:24:24 2003
+++ error.h Fri Aug 29 12:25:40 2003
@@ -25,10 +25,10 @@
extern void file_error ();
/* Report a programmer's error, and abort. Pass REASON, and ARG1 ... ARG5. */
-extern void programming_error ();
+extern void programming_error (char *, ...);
/* General error reporting. Pass FORMAT and ARG1 ... ARG5. */
-extern void report_error ();
+extern void report_error (char *, ...);
/* Report an unrecoverable error and exit. Pass FORMAT and ARG1 ... ARG5. */
-extern void fatal_error ();
+extern void fatal_error (char *, ...);