summaryrefslogtreecommitdiffstats
path: root/misc-utils/blkid.c
diff options
context:
space:
mode:
authorSami Kerola2015-10-03 20:31:05 +0200
committerKarel Zak2015-10-09 11:17:09 +0200
commit67791b77870c09c06cae8441c0c3d4e90fd3fa1d (patch)
tree908d6f2795a689a7fa405154044f16a8d6d0a292 /misc-utils/blkid.c
parentuuidd: slice up the usage text and normalize its layout (diff)
downloadkernel-qcow2-util-linux-67791b77870c09c06cae8441c0c3d4e90fd3fa1d.tar.gz
kernel-qcow2-util-linux-67791b77870c09c06cae8441c0c3d4e90fd3fa1d.tar.xz
kernel-qcow2-util-linux-67791b77870c09c06cae8441c0c3d4e90fd3fa1d.zip
blkid, uuidd, uuidgen: assume getopt.h and getopt.h are available
These headers are in use allover this project without issues. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'misc-utils/blkid.c')
-rw-r--r--misc-utils/blkid.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/misc-utils/blkid.c b/misc-utils/blkid.c
index bbe7b6267..c0be45746 100644
--- a/misc-utils/blkid.c
+++ b/misc-utils/blkid.c
@@ -17,13 +17,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
-#ifdef HAVE_GETOPT_H
#include <getopt.h>
-#else
-extern int getopt(int argc, char * const argv[], const char *optstring);
-extern char *optarg;
-extern int optind;
-#endif
#define OUTPUT_VALUE_ONLY (1 << 1)
#define OUTPUT_DEVICE_ONLY (1 << 2)