patches/indent-01-gcc4.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 357 b5c9d974aef3
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
357
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     1
--- indent-2.2.9/src/indent.h.orig	2005-05-04 01:13:15.000000000 +0200
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     2
+++ indent-2.2.9/src/indent.h	2005-05-04 01:13:18.000000000 +0200
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     3
@@ -96,8 +96,6 @@
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     4
 /* Size of the input program, not including the ' \n\0' we add at the end */
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     5
 extern unsigned long in_prog_size;
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     6
 
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     7
-/* The output file. */
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     8
-extern FILE *output;
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     9
 
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    10
 
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    11
 
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    12
--- indent-2.2.9/src/output.c.orig	2002-12-12 18:36:49.000000000 +0100
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    13
+++ indent-2.2.9/src/output.c	2005-05-04 01:13:38.000000000 +0200
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    14
@@ -12,6 +12,7 @@
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    15
  */
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    16
 
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    17
 #include <stdio.h>
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    18
+#include <stdlib.h>
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    19
 #include <sys/types.h>
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    20
 #include <utime.h>
b5c9d974aef3 2007-07-29 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    21
 #include <sys/stat.h>