aboutsummaryrefslogtreecommitdiff
path: root/gcc/gen-protos.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gen-protos.c')
-rw-r--r--gcc/gen-protos.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/gen-protos.c b/gcc/gen-protos.c
index 4858b4f..0bf6ea9 100644
--- a/gcc/gen-protos.c
+++ b/gcc/gen-protos.c
@@ -192,21 +192,3 @@ main (argc, argv)
return 0;
}
-
-/* Needed by scan.o. We can't use libiberty here. */
-PTR
-xrealloc (p, s)
- PTR p;
- size_t s;
-{
- PTR r;
- if (s == 0)
- s = 1;
- if (p)
- r = realloc (p, s);
- else
- r = malloc (s);
- if (!r)
- abort ();
- return r;
-}