OSDN Git Service

test: get out of the endless while loop, when bind failed
[uclinux-h8/uClibc.git] / include / getopt.h
index 0d71ff6..a682f9c 100644 (file)
@@ -1,17 +1,4 @@
-/* Copyright (C) 1996 Robert de Bath <rdebath@cix.compulink.co.uk>
- * This file is part of the Linux-8086 C library and is distributed
- * under the GNU Library General Public License.
- */
+/* This file will not be installed if not using gnu getopt. */
 
-#ifndef __GETOPT_H
-#define __GETOPT_H
+#include <bits/getopt.h>
 
-#include <features.h>
-
-extern char *optarg;
-extern int opterr;
-extern int optind;
-
-extern int getopt __P((int argc, char *const *argv, const char *shortopts));
-
-#endif /* __GETOPT_H */