]> granicus.if.org Git - file/commitdiff
no <sys/cdefs.h> and no __P
authorChristos Zoulas <christos@zoulas.com>
Fri, 4 Jul 2008 18:31:38 +0000 (18:31 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 4 Jul 2008 18:31:38 +0000 (18:31 +0000)
src/getopt_long.c
src/mygetopt.h

index 4d9c8788c2bb5ce4963122405b058bd9b735780b..5b9c20b4992884704c46bf1608b1b664d40d142a 100644 (file)
@@ -87,9 +87,9 @@ __weak_alias(getopt_long,_getopt_long)
 
 #define        EMSG    ""
 
-static int getopt_internal __P((int, char **, const char *));
-static int gcd __P((int, int));
-static void permute_args __P((int, int, int, char **));
+static int getopt_internal(int, char **, const char *);
+static int gcd(int, int);
+static void permute_args(int, int, int, char **);
 
 static const char *place = EMSG; /* option letter processing */
 
index 63bb69b9ee367782928005fea323ff0d68cf8788..69aa577534b8ed3af04f40ebb077af6bd7326888 100644 (file)
@@ -39,7 +39,6 @@
 #ifndef _GETOPT_H_
 #define _GETOPT_H_
 
-#include <sys/cdefs.h>
 #include <unistd.h>
 
 /*