summaryrefslogtreecommitdiffstats
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorbrolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-07 12:42:21 +0000
committerbrolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-07 12:42:21 +0000
commitcaa859cdde89b29e003c9a0e9b469dd79effd516 (patch)
tree0e06ddfb7c06a8eb1366ed235d653e8ced12b583 /gcc/cpplib.c
parent2c7e6296b92e67337b5386204b09594e4d946655 (diff)
downloadppe42-gcc-caa859cdde89b29e003c9a0e9b469dd79effd516.tar.gz
ppe42-gcc-caa859cdde89b29e003c9a0e9b469dd79effd516.zip
Mon Dec 7 15:38:25 1998 Dave Brolley <brolley@cygnus.com>
* gcc.c (default_compilers): Fix typo in USE_CPPLIB spec for cc1. Mon Dec 7 15:38:25 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * c-aux-info.c (concat): Wrap function definition in !USE_CPPLIB. * cppalloc.c: Move function `xcalloc' from cpplib.c to here. * cpplib.c: Move function `xcalloc' from here to cppalloc.c. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24152 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r--gcc/cpplib.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index 828bcf9a0a7..a9bb550bb55 100644
--- a/gcc/cpplib.c
+++ b/gcc/cpplib.c
@@ -6429,20 +6429,10 @@ free_token_list (tokens)
}
}
-/* FIXME: savestring() should be renamed strdup() and both should
+/* FIXME: savestring() should be renamed strdup() and should
be moved into cppalloc.c. We can't do that right now because
then we'd get multiple-symbol clashes with toplev.c and several
other people. */
-PTR
-xcalloc (number, size)
- size_t number, size;
-{
- register unsigned total = number * size;
- register PTR ptr = (PTR) xmalloc (total);
- bzero (ptr, total);
- return ptr;
-}
-
char *
savestring (input)
char *input;
OpenPOWER on IntegriCloud