Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 1997 14:22:25 -0700 (PDT)
From:      asami@vader.cs.berkeley.edu (Satoshi Asami)
To:        ache@nagual.ru
Cc:        ports@freebsd.org
Subject:   new patch-ad for fspclient, please review
Message-ID:  <199704242122.OAA04912@vader.cs.berkeley.edu>

next in thread | raw e-mail | index | archive | help
Satoshi
-------
--- ./bsd/ls.c.org	Wed May  5 23:02:53 1993
+++ ./bsd/ls.c	Thu Apr 24 14:04:44 1997
@@ -96,7 +96,9 @@
 #ifndef ANSI_PROTOTYPES
 	extern int getopt();
 #else /* ANSI_PROTOTYPES */
+#if !defined(__FreeBSD__)
 	extern int getopt(int argc, char **argv, char *opts);
+#endif /* __FreeBSD__ */
 #endif /* ANSI_PROTOTYPES */
 	extern int optind, opterr;
 	int ch, exit_after_options;
--- ./bsd/getopt.c.org	Sun May  2 19:56:29 1993
+++ ./bsd/getopt.c	Thu Apr 24 14:10:51 1997
@@ -31,7 +31,7 @@
  * SUCH DAMAGE.
  */
 
-#if !defined(hpux) && !defined(sun)
+#if !defined(hpux) && !defined(sun) && !defined(__FreeBSD__)
 
 /* guarantee that we have a `working' getopt() function */
 #if defined(LIBC_SCCS) && !defined(lint)
--- ./client.0.0-h+/main.c.org	Wed May  5 22:22:34 1993
+++ ./client.0.0-h+/main.c	Thu Apr 24 14:14:54 1997
@@ -414,7 +414,9 @@
 #ifndef ANSI_PROTOTYPES
     extern int getopt();
 #else /* ANSI_PROTOTYPES */
+#if !defined(__FreeBSD__)
     extern int getopt(int argc, char **argv, char *optstring);
+#endif /* __FreeBSD__ */
 #endif /* ANSI_PROTOTYPES */
     extern char *optarg;
     extern int optind, opterr;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704242122.OAA04912>