OSSP CVS Repository

ossp - Check-in [5007]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 5007
Date: 2005-Feb-03 10:43:52 (local)
2005-Feb-03 09:43:52 (UTC)
User:rse
Branch:
Comment: Remove local getopt() declarations from l2tool.c for portability.
Tickets:
Inspections:
Files:
ossp-pkg/l2/ChangeLog      1.23 -> 1.24     3 inserted, 0 deleted
ossp-pkg/l2/l2tool.c      1.6 -> 1.7     0 inserted, 3 deleted

ossp-pkg/l2/ChangeLog 1.23 -> 1.24

--- ChangeLog    2005/02/03 09:42:36     1.23
+++ ChangeLog    2005/02/03 09:43:52     1.24
@@ -11,6 +11,9 @@
 
   Changes between 0.9.9 and 0.9.10 (01-Feb-2005 to 03-Feb-2005)
 
+    *) Remove local getopt() declarations from l2tool.c for portability.
+       [Ralf S. Engelschall <rse@engelschall.com>]
+
     *) Fix compile warnings for Flex generation code by using the
        %options nounput, noyy_top_state and nounistd.
        [Ralf S. Engelschall <rse@engelschall.com>]


ossp-pkg/l2/l2tool.c 1.6 -> 1.7

--- l2tool.c     2005/01/24 15:03:18     1.6
+++ l2tool.c     2005/02/03 09:43:52     1.7
@@ -32,9 +32,6 @@
 #include "l2.h"
 
 #include <unistd.h>
-extern int getopt(int, char *const *, const char *);
-extern int optind;
-extern char *optarg;
 
 static void die(l2_env_t *env, l2_result_t rv, char *fmt, ...)
 {

CVSTrac 2.0.1