projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bf2e821
)
Add comment as to where getopt_long.c came from
author
Jens Axboe
<jaxboe@fusionio.com>
Tue, 10 Aug 2010 23:54:32 +0000
(19:54 -0400)
committer
Jens Axboe
<jaxboe@fusionio.com>
Tue, 10 Aug 2010 23:54:32 +0000
(19:54 -0400)
Also fix the include path.
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
lib/getopt_long.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/getopt_long.c
b/lib/getopt_long.c
index 3d80627f5395c6bba4d5d28ac73170c46290e198..6e8abc0678d1280f415f9c2d4e20f79778a36982 100644
(file)
--- a/
lib/getopt_long.c
+++ b/
lib/getopt_long.c
@@
-6,12
+6,15
@@
* - Option reordering is not supported
* - -W foo is not supported
* - First optstring character "-" not supported.
+ *
+ * This file was imported from the klibc library from hpa
*/
#include <stdint.h>
#include <unistd.h>
#include <string.h>
-#include <getopt.h>
+
+#include "getopt.h"
char *optarg;
int optind, opterr, optopt;