summaryrefslogtreecommitdiff
path: root/misc/chattr.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>1997-10-25 03:49:49 +0000
committerTheodore Ts'o <tytso@mit.edu>1997-10-25 03:49:49 +0000
commit519149fb458b0fa69c10fecd83fae42e838cf01d (patch)
tree44f4f64de2c414f5fd5c47103d899f67ce2d5e92 /misc/chattr.c
parent622f5f272d2a25539f040e04166e1e21eca3adb5 (diff)
downloade2fsprogs-519149fb458b0fa69c10fecd83fae42e838cf01d.tar.gz
Many files:
fsck.c: chattr.c: Remove #include of getopt.h, since it's not needed. tune2fs.c (main): lsattr.c (main): badblocks.c (main): dumpe2fs.c (main): mke2fs.c (PRS): Make the variable which getopt returns into be an int, so that it won't lose on platforms where char is unsigned. ChangeLog, unix.c: Make the variable which getopt returns into be an int, so that it won't lose on platforms where char is unsigned.
Diffstat (limited to 'misc/chattr.c')
-rw-r--r--misc/chattr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/misc/chattr.c b/misc/chattr.c
index 8ea4d035..7f40f885 100644
--- a/misc/chattr.c
+++ b/misc/chattr.c
@@ -19,9 +19,6 @@
#include <sys/types.h>
#include <dirent.h>
#include <fcntl.h>
-#ifdef HAVE_GETOPT_H
-#include <getopt.h>
-#endif
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>