aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarfout.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2000-05-23 17:42:19 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2000-05-23 17:42:19 +0000
commitf31e826ba314bc910beec6de5bf534f2462a00c7 (patch)
tree2d8c701cdb99568d7922c37d21a7fda0f8ea9913 /gcc/dwarfout.c
parent04de731462db7abf438903fa71b850ac046f1067 (diff)
downloadgcc-f31e826ba314bc910beec6de5bf534f2462a00c7.zip
gcc-f31e826ba314bc910beec6de5bf534f2462a00c7.tar.gz
gcc-f31e826ba314bc910beec6de5bf534f2462a00c7.tar.bz2
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
Diffstat (limited to 'gcc/dwarfout.c')
-rw-r--r--gcc/dwarfout.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c
index 32e0569..aaa3d1e 100644
--- a/gcc/dwarfout.c
+++ b/gcc/dwarfout.c
@@ -37,12 +37,6 @@ Boston, MA 02111-1307, USA. */
#include "toplev.h"
#include "tm_p.h"
-#if defined(DWARF_TIMESTAMPS)
-#if !defined(POSIX)
-extern time_t time PARAMS ((time_t *)); /* FIXME: use NEED_DECLARATION_TIME */
-#endif /* !defined(POSIX) */
-#endif /* defined(DWARF_TIMESTAMPS) */
-
/* We cannot use <assert.h> in GCC source, since that would include
GCC's assert.h, which may not be compatible with the host compiler. */
#undef assert