mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 05:40:30 -04:00
graphics/jpeg2ps-*, and merge the papersize-suffixed versions into single ones respectively as print/psutils did. Approved by: dinoex (maintainer) [1]
31 lines
592 B
C
31 lines
592 B
C
--- psrev.c.orig 1993-02-22 21:46:09.000000000 +0900
|
|
+++ psrev.c 2013-04-27 22:56:35.000000000 +0900
|
|
@@ -5,6 +5,7 @@
|
|
#endif
|
|
|
|
#include <stdio.h>
|
|
+#include <stdlib.h>
|
|
#include <ctype.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
@@ -14,9 +15,6 @@
|
|
extern int errno;
|
|
#endif
|
|
|
|
-char *malloc();
|
|
-char *realloc();
|
|
-
|
|
char *xmalloc();
|
|
char *xrealloc();
|
|
char *prog;
|
|
@@ -24,8 +22,8 @@
|
|
void sys_error(message, arg)
|
|
char *message, *arg;
|
|
{
|
|
- extern char *sys_errlist[];
|
|
- extern int sys_nerr;
|
|
+ /* extern char *sys_errlist[]; */
|
|
+ /* extern int sys_nerr; */
|
|
int en;
|
|
|
|
en = errno;
|