]> sourceware.org Git - newlib-cygwin.git/commitdiff
* lib/getopt.c: Nuke use of unneeded BSDisms.
authorChristopher Faylor <me@cgf.cx>
Sun, 2 Mar 2003 22:52:18 +0000 (22:52 +0000)
committerChristopher Faylor <me@cgf.cx>
Sun, 2 Mar 2003 22:52:18 +0000 (22:52 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/lib/getopt.c

index 5c5d53462f3537066e2867e3a50aeb1d8ae309e5..f81173f33c02c1830f67c55addcac0f3bf60cb7a 100644 (file)
@@ -1,3 +1,7 @@
+2003-03-02  Christopher Faylor  <cgf@redhat.com>
+
+       * lib/getopt.c: Nuke use of unneeded BSDisms.
+
 2003-03-02  Christopher Faylor  <cgf@redhat.com>
 
        * dll_init.cc (dll_list::load_after_fork): Don't revert to LoadLibrary
index 1a4439a1ea231ad59dd24b97844aacf09b890edd..e5e1029d48e89bae7525ea77a51d916667058f67 100644 (file)
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
-
-/*#include "namespace.h"*/
-
 #include <assert.h>
 #include <errno.h>
-/*#include <err.h>*/
 #include <stdlib.h>
 #include <string.h>
 #include <getopt.h>
@@ -92,9 +87,9 @@ extern char __declspec(dllimport) *__progname;
 
 #define        EMSG    ""
 
-static int getopt_internal __P((int, char * const *, const char *));
-static int gcd __P((int, int));
-static void permute_args __P((int, int, int, char * const *));
+static int getopt_internal (int, char * const *, const char *);
+static int gcd (int, int);
+static void permute_args (int, int, int, char * const *);
 
 static const char *place = EMSG; /* option letter processing */
 
This page took 0.033242 seconds and 5 git commands to generate.