Whamcloud - gitweb
Many files:
authorTheodore Ts'o <tytso@mit.edu>
Mon, 3 Apr 2000 16:22:35 +0000 (16:22 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 3 Apr 2000 16:22:35 +0000 (16:22 +0000)
  badblocks.c, dumpe2fs.c, e2label.c, mke2fs.c, tune2fs.c, uuidgen.c:
   For platforms that don't define optarg.h, manually define optarg and
   optind.
ChangeLog, main.c:
  main.c: For platforms that don't define optarg.h, manually define
   optarg and optind.
ChangeLog, unix.c:
  unix.c: For platforms that don't define optarg.h, manually define
   optarg and optind.

e2fsck/ChangeLog
e2fsck/unix.c
misc/ChangeLog
misc/badblocks.c
misc/dumpe2fs.c
misc/e2label.c
misc/mke2fs.c
misc/tune2fs.c
misc/uuidgen.c
resize/ChangeLog
resize/main.c

index 8bbf22e..3cd1387 100644 (file)
@@ -1,3 +1,8 @@
+2000-04-03  Theodore Ts'o  <tytso@valinux.com>
+
+       * unix.c: For platforms that don't define optarg.h, manually
+               define optarg and optind.
+
 2000-03-20  Theodore Ts'o  <tytso@valinux.com>
 
        * pass1.c (check_immutable, e2fsck_pass1_check_device_inode):
index 16c9491..9f5d7f0 100644 (file)
@@ -22,6 +22,9 @@
 #endif
 #ifdef HAVE_GETOPT_H
 #include <getopt.h>
+#else
+extern char *optarg;
+extern int optind;
 #endif
 #include <unistd.h>
 #ifdef HAVE_ERRNO_H
index 78fa469..8240ff0 100644 (file)
@@ -1,5 +1,9 @@
 2000-04-03  Theodore Ts'o  <tytso@valinux.com>
 
+       * badblocks.c, dumpe2fs.c, e2label.c, mke2fs.c, tune2fs.c,
+               uuidgen.c: For platforms that don't define optarg.h,
+               manually define optarg and optind.
+
        * badblocks.8.in: Updated manual page with suggestions from David
                Beattie.
 
index 475c9c3..747b631 100644 (file)
@@ -33,6 +33,9 @@
 #include <fcntl.h>
 #ifdef HAVE_GETOPT_H
 #include <getopt.h>
+#else
+extern char *optarg;
+extern int optind;
 #endif
 #include <signal.h>
 #include <stdio.h>
index 9056129..3a2d524 100644 (file)
@@ -22,6 +22,9 @@
 
 #ifdef HAVE_GETOPT_H
 #include <getopt.h>
+#else
+extern char *optarg;
+extern int optind;
 #endif
 #include <fcntl.h>
 #include <stdio.h>
index 477c34b..cf65513 100644 (file)
@@ -19,6 +19,9 @@
 #include <time.h>
 #ifdef HAVE_GETOPT_H
 #include <getopt.h>
+#else
+extern char *optarg;
+extern int optind;
 #endif
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
index 820b9d2..9b9bd31 100644 (file)
@@ -25,6 +25,9 @@
 #endif
 #ifdef HAVE_GETOPT_H
 #include <getopt.h>
+#else
+extern char *optarg;
+extern int optind;
 #endif
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
index 6903dc1..06e5c20 100644 (file)
@@ -30,6 +30,9 @@
 #include <grp.h>
 #ifdef HAVE_GETOPT_H
 #include <getopt.h>
+#else
+extern char *optarg;
+extern int optind;
 #endif
 #include <pwd.h>
 #include <stdio.h>
index b1d24ea..b6f3837 100644 (file)
@@ -12,6 +12,9 @@
 #include <stdio.h>
 #ifdef HAVE_GETOPT_H
 #include <getopt.h>
+#else
+extern char *optarg;
+extern int optind;
 #endif
 #include "uuid/uuid.h"
 #include "nls-enable.h"
index ff00270..90c0a6c 100644 (file)
@@ -1,3 +1,8 @@
+2000-04-03  Theodore Ts'o  <tytso@valinux.com>
+
+       * main.c: For platforms that don't define optarg.h, manually
+               define optarg and optind.
+
 2000-02-02  Theodore Ts'o  <tytso@valinux.com>
 
        * resize2fs.h: Remove unneeded #include of linux/fs.h
index 77fac23..3abff63 100644 (file)
@@ -10,6 +10,9 @@
 
 #ifdef HAVE_GETOPT_H
 #include <getopt.h>
+#else
+extern char *optarg;
+extern int optind;
 #endif
 #include <fcntl.h>
 #include <sys/ioctl.h>