220c8232ff
and don't pass abuse-cast int to XtPointer. pval@ says it works.
27 lines
664 B
Plaintext
27 lines
664 B
Plaintext
$OpenBSD: patch-ps_c,v 1.1 2002/04/26 01:44:09 espie Exp $
|
|
--- ps.c.orig Sun Jul 11 18:10:18 1993
|
|
+++ ps.c Fri Apr 26 02:38:33 2002
|
|
@@ -24,6 +24,7 @@
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
+#include <stdlib.h>
|
|
#ifndef SEEK_SET
|
|
#define SEEK_SET 0
|
|
#endif
|
|
@@ -67,10 +68,10 @@ struct documentmedia papersizes[] = {
|
|
};
|
|
|
|
|
|
-static char *readline();
|
|
-static char *gettextline();
|
|
-static char *gettext();
|
|
-static int blank();
|
|
+static char *readline(char *, int, FILE *, long *, unsigned int *);
|
|
+static char *gettextline(char *);
|
|
+static char *gettext(char *, char **);
|
|
+static int blank(char *);
|
|
|
|
/*
|
|
* psscan -- scan the PostScript file for document structuring comments.
|