aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@gcc.gnu.org>1998-12-07 07:42:21 -0500
committerDave Brolley <brolley@gcc.gnu.org>1998-12-07 07:42:21 -0500
commit93447205e549088d1d5208e82462b5f681030632 (patch)
tree0e06ddfb7c06a8eb1366ed235d653e8ced12b583 /gcc/cpplib.c
parentf070035e54ea019f78aad2db4132b71d1478a797 (diff)
downloadgcc-93447205e549088d1d5208e82462b5f681030632.zip
gcc-93447205e549088d1d5208e82462b5f681030632.tar.gz
gcc-93447205e549088d1d5208e82462b5f681030632.tar.bz2
[multiple changes]
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. From-SVN: r24152
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 828bcf9..a9bb550 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;