Commit Graph

10 Commits

Author SHA1 Message Date
Roger Sayle
45329aca77 partition.h: Close the extern "C" scope when compiling with C++.
* partition.h:  Close the extern "C" scope when compiling with C++.
	* getopt.h: Update copyright year from the previous patch.

From-SVN: r58570
2002-10-27 01:00:34 +00:00
Roger Sayle
f416dcd5bf re PR bootstrap/8351 (3.3 20021024 (experimental) fails to bootstrap on cygwin)
PR bootstrap/8351
	* getopt.h:  Avoid prototyping getopt with no arguments in C++.

Co-Authored-By: DJ Delorie <dj@redhat.com>

From-SVN: r58569
2002-10-27 00:54:50 +00:00
David O'Brien
520157677f getopt.h: getopt is in unistd.h.
2002-10-11  David O'Brien  <obrien@FreeBSD.org>
	* getopt.h: getopt is in unistd.h.  The Single UNIX(tm) Specification,
	Version 2 Copyright (c)1997 The Open Group

Approved by:  Committed as obvious.

From-SVN: r58078
2002-10-12 04:01:04 +00:00
Alan Modra
66443ad2fd libiberty.h (basename): Don't declare if HAVE_DECL_BASENAME.
* libiberty.h (basename): Don't declare if HAVE_DECL_BASENAME.
	* getopt.h (getopt): Don't declare if HAVE_DECL_GETOPT.

From-SVN: r54941
2002-06-24 14:38:02 +09:30
Nick Clifton
01f537aba0 Fix copyright dates
From-SVN: r40469
2001-03-14 19:44:38 +00:00
Rodney Brown
0b749da1b8 * getopt.h obstack.h: Standarize copyright statement.
From-SVN: r38086
2000-12-06 18:54:13 -07: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
Jeffrey A Law
cccdae4bcc * getopt.h: Updated from gcc.
From-SVN: r22255
1998-09-05 05:17:41 -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