summaryrefslogtreecommitdiffstats
path: root/misc-utils/uuidd.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/uuidd.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/uuidd.c')
-rw-r--r--misc-utils/uuidd.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/misc-utils/uuidd.c b/misc-utils/uuidd.c
index 76f5e4131..e19be52cd 100644
--- a/misc-utils/uuidd.c
+++ b/misc-utils/uuidd.c
@@ -9,9 +9,7 @@
* %End-Header%
*/
#include <stdio.h>
-#ifdef HAVE_STDLIB_H
#include <stdlib.h>
-#endif
#include <unistd.h>
#include <inttypes.h>
#include <errno.h>
@@ -23,13 +21,7 @@
#include <fcntl.h>
#include <signal.h>
#include <string.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
#include "uuid.h"
#include "uuidd.h"