You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
indent/indent-2.2.9-gcc4.patch

33 lines
1.0 KiB

20 years ago
--- indent-2.2.9/man/texinfo2man.c.jj 2002-01-17 14:28:51.000000000 -0500
+++ indent-2.2.9/man/texinfo2man.c 2005-04-10 08:37:22.283581780 -0400
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdlib.h>
#include <malloc.h>
#include <string.h>
#include <ctype.h>
--- indent-2.2.9/src/indent.h.jj 2002-11-10 16:02:48.000000000 -0500
+++ indent-2.2.9/src/indent.h 2005-04-10 08:35:06.395429529 -0400
@@ -96,11 +96,6 @@ extern char *cur_line;
/* Size of the input program, not including the ' \n\0' we add at the end */
extern unsigned long in_prog_size;
-/* The output file. */
-extern FILE *output;
-
-
-
extern char *labbuf; /* buffer for label */
extern char *s_lab; /* start ... */
extern char *e_lab; /* .. and end of stored label */
--- indent-2.2.9/src/output.c.jj 2002-12-12 12:36:49.000000000 -0500
+++ indent-2.2.9/src/output.c 2005-04-10 08:35:54.511631253 -0400
@@ -12,6 +12,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <sys/types.h>
#include <utime.h>
#include <sys/stat.h>