diff options
author | Dave Brolley <brolley@gcc.gnu.org> | 1998-12-07 07:42:21 -0500 |
---|---|---|
committer | Dave Brolley <brolley@gcc.gnu.org> | 1998-12-07 07:42:21 -0500 |
commit | 93447205e549088d1d5208e82462b5f681030632 (patch) | |
tree | 0e06ddfb7c06a8eb1366ed235d653e8ced12b583 /gcc/c-aux-info.c | |
parent | f070035e54ea019f78aad2db4132b71d1478a797 (diff) | |
download | gcc-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/c-aux-info.c')
-rw-r--r-- | gcc/c-aux-info.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/c-aux-info.c b/gcc/c-aux-info.c index e6737c9..d86d445 100644 --- a/gcc/c-aux-info.c +++ b/gcc/c-aux-info.c @@ -48,6 +48,10 @@ static char *gen_decl PROTO((tree, int, formals_style)); This function is based on the one in libiberty. */ +/* This definition will conflict with the one from prefix.c in + libcpp.a when linking cc1 and cc1obj. So only provide it if we are + not using libcpp.a */ +#ifndef USE_CPPLIB char * concat VPROTO((const char *first, ...)) { @@ -99,6 +103,7 @@ concat VPROTO((const char *first, ...)) return (newstr); } +#endif /* ! USE_CPPLIB */ /* Given a string representing an entire type or an entire declaration which only lacks the actual "data-type" specifier (at its left end), |