Greg McGary
672a59e0ad
* libiberty.h (ARRAY_SIZE): New macro.
...
From-SVN: r35947
2000-08-24 20:28:15 +00:00
Kaveh R. Ghazi
f31e826ba3
getopt.h (getopt): Also check HAVE_DECL_* when prototyping.
...
include:
* getopt.h (getopt): Also check HAVE_DECL_* when prototyping.
* libiberty.h (basename): Likewise.
gcc:
* aclocal.m4 (gcc_AC_CHECK_DECL, gcc_AC_CHECK_DECLS): New macros
rewritten from the internals of gcc_AC_NEED_DECLARATION{S}.
* configure.in (gcc_AC_CHECK_DECLS): Call this instead of
gcc_AC_NEED_DECLARATIONS.
* dwarfout.c: Don't prototype time().
* gcc.c: Check HAVE_DECL_* instead of NEED_DECLARATION_*.
* system.h: Likewise.
* toplev.c: Likewise.
From-SVN: r34108
2000-05-23 17:42:19 +00:00
Kaveh R. Ghazi
d94656872d
ansidecl.h (ATTRIBUTE_MALLOC): New macro.
...
* ansidecl.h (ATTRIBUTE_MALLOC): New macro.
* libiberty.h (buildargv, dupargv, concat, choose_temp_base,
make_temp_file, xmalloc, xcalloc, xstrdup, xmemdup): Add
ATTRIBUTE_MALLOC.
(xatexit): Remove __GNUC__ check, add ATTRIBUTE_NORETURN.
From-SVN: r30732
1999-11-30 23:56:52 +00:00
Kaveh R. Ghazi
146e60a070
libiberty.h: Include stdarg.h when ANSI_PROTOTYPES is defined.
...
* libiberty.h: Include stdarg.h when ANSI_PROTOTYPES is defined.
(asprintf, vasprintf): Provide declarations.
From-SVN: r30691
1999-11-29 02:08:36 +00:00
Kaveh R. Ghazi
5a657fc371
libiberty.h (make_temp_file): Add a prototype.
...
include:
* libiberty.h (make_temp_file): Add a prototype.
libiberty:
* choose-temp.c: Remove obsolete comment about gcc.
(make_temp_file): Constify a char*.
gcc:
* collect2.c (make_temp_file): Don't prototype.
* gcc.c (make_temp_file): Likewise.
* mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
From-SVN: r29662
1999-09-25 13:11:17 +00:00
Marc Espie
2ac2226c50
libiberty.h (basename): OpenBSD has a correct prototype.
...
* libiberty.h (basename): OpenBSD has a correct prototype.
(xrealloc): Remove outdated comment.
From-SVN: r29390
1999-09-14 00:35:01 -06:00
Jeff Garzik
6659980655
* libiberty.h (xmemdup): Add prototype for new function.
...
From-SVN: r29200
1999-09-08 02:20:11 -06:00
Kaveh R. Ghazi
25c29e1e40
* libiberty.h (getpwd): Prototype.
...
From-SVN: r28997
1999-08-31 00:52:57 +00:00
Jeff Law
64f62168ef
Sync
...
* Add symcat file.
* libiberty.h expose basename prototype on more systems
From-SVN: r26238
1999-04-06 22:24:20 -06:00
Kaveh R. Ghazi
67d0f6ab5e
* libiberty.h: Prototype xcalloc.
...
From-SVN: r23641
1998-11-13 16:33:50 +00:00
Jeff Law
36af8b6513
backport: libiberty.h (xexit): Change decl to use modern GCC attribute to indicate exit does not return.
...
* Merge devo and egcs include directories.
1998-08-03 Jason Molenda (jsm@bugshack.cygnus.com )
* libiberty.h (xexit): Change decl to use modern GCC attribute
to indicate exit does not return.
From-SVN: r22942
1998-10-08 17:04:13 -06:00
Jeff Law
5a4917e586
[multiple changes]
...
Thu Feb 12 16:29:01 1998 Ian Lance Taylor <ian@cygnus.com>
* getopt.h: Update to latest FSF version.
Fri Nov 7 10:34:09 1997 Rob Savoye <rob@darkstar.cygnus.com>
* libiberty.h: Add extern "C" { so it can be used with C++
programs.
Thu Aug 28 19:41:42 1997 Andrew Cagney <cagney@b1.cygnus.com>
* libiberty.h (dupargv): Add prototype.
Bring over from devo.
From-SVN: r19687
1998-05-11 16:49:29 -06:00
Jason Merrill
6599da043e
Initial revision
...
From-SVN: r14877
1997-08-21 18:57:35 -04:00