aboutsummaryrefslogtreecommitdiff
path: root/libiberty/getopt1.c
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-09-05 12:10:25 +0000
committerJeff Law <law@gcc.gnu.org>1998-09-05 06:10:25 -0600
commit7520c31b2d4c43e9ae93a9f9fbd6aaed5f4ce96e (patch)
treee28c61cb45af96c4847681a77dd4bae6e20c5511 /libiberty/getopt1.c
parent8cfa53208592a081d687b393f9e3420b48e30454 (diff)
downloadgcc-7520c31b2d4c43e9ae93a9f9fbd6aaed5f4ce96e.zip
gcc-7520c31b2d4c43e9ae93a9f9fbd6aaed5f4ce96e.tar.gz
gcc-7520c31b2d4c43e9ae93a9f9fbd6aaed5f4ce96e.tar.bz2
pexecute.c: Updates from gcc.
* pexecute.c: Updates from gcc. Copy in gcc has been removed. This is the canonical copy. Define ISSPACE if !IN_GCC. * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly. * getopt1.c: Similarly. * Makefile.in: Build mkstemp.o From-SVN: r22257
Diffstat (limited to 'libiberty/getopt1.c')
-rw-r--r--libiberty/getopt1.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libiberty/getopt1.c b/libiberty/getopt1.c
index af8e681..ff25737 100644
--- a/libiberty/getopt1.c
+++ b/libiberty/getopt1.c
@@ -1,8 +1,9 @@
/* getopt_long and getopt_long_only entry points for GNU getopt.
- Copyright (C) 1987,88,89,90,91,92,93,94,96,97 Free Software Foundation, Inc.
+ Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+ Free Software Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C Library.
- Bugs can be reported to bug-glibc@prep.ai.mit.edu.
+ Bugs can be reported to bug-glibc@gnu.org.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
@@ -25,7 +26,7 @@
#include "getopt.h"
-#if !defined (__STDC__) || !__STDC__
+#if !defined __STDC__ || !__STDC__
/* This is a separate conditional since some stdc systems
reject `defined (const)'. */
#ifndef const
@@ -44,7 +45,7 @@
it is simpler to just do this in the source for each such file. */
#define GETOPT_INTERFACE_VERSION 2
-#if !defined (_LIBC) && defined (__GLIBC__) && __GLIBC__ >= 2
+#if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2
#include <gnu-versions.h>
#if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION
#define ELIDE_CODE