summaryrefslogtreecommitdiff
path: root/print/dviselect/files/patch-lib::error.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 14:02:16 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 14:02:16 +0000
commitba06c2d6a37dc081a3a8c5a01426a0a009428ca9 (patch)
tree7b1cdea9a21ff4ed307e29514e9d8286d9d83dfa /print/dviselect/files/patch-lib::error.c
parentStage, and pull the patches into a sed command. (diff)
Rename p*/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363322
Diffstat (limited to 'print/dviselect/files/patch-lib::error.c')
-rw-r--r--print/dviselect/files/patch-lib::error.c53
1 files changed, 0 insertions, 53 deletions
diff --git a/print/dviselect/files/patch-lib::error.c b/print/dviselect/files/patch-lib::error.c
deleted file mode 100644
index 6e9fb918a4c3..000000000000
--- a/print/dviselect/files/patch-lib::error.c
+++ /dev/null
@@ -1,53 +0,0 @@
---- lib/error.c.orig Wed Nov 15 04:19:40 1989
-+++ lib/error.c Wed Oct 15 06:38:57 2003
-@@ -18,7 +18,8 @@
- */
-
- #include <stdio.h>
--#include <varargs.h>
-+#include <stdarg.h>
-+#include <errno.h>
-
- #ifdef lint
-
-@@ -31,20 +32,15 @@
- #else lint
-
- extern char *ProgName;
--extern int errno;
--extern char *sys_errlist[];
--extern int sys_nerr;
-
--error(va_alist)
-- va_dcl
-+error(char *fmt,...)
- {
- va_list l;
- int quit, e;
-- char *fmt;
-
- (void) fflush(stdout); /* sync error messages */
- (void) fprintf(stderr, "%s: ", ProgName);
-- va_start(l);
-+ va_start(l,fmt);
- /* pick up the constant arguments: quit, errno, printf format */
- quit = va_arg(l, int);
- e = va_arg(l, int);
-@@ -69,15 +65,13 @@
- exit(quit);
- }
-
--panic(va_alist)
-- va_dcl
-+panic(char *fmt,...)
- {
- va_list l;
-- char *fmt;
-
- (void) fflush(stdout);
- (void) fprintf(stderr, "%s: panic: ", ProgName);
-- va_start(l);
-+ va_start(l,fmt);
- /* pick up the constant argument: printf format */
- fmt = va_arg(l, char *);
- #if defined(sys5) || defined(HAVE_VPRINTF)