OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d05822
)
getopt_long[_only] visible only if GNU getopt used
author
Peter S. Mazinger
<ps.m@gmx.net>
Fri, 3 Feb 2006 11:29:32 +0000
(11:29 -0000)
committer
Peter S. Mazinger
<ps.m@gmx.net>
Fri, 3 Feb 2006 11:29:32 +0000
(11:29 -0000)
libc/sysdeps/linux/common/bits/getopt.h
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/common/bits/getopt.h
b/libc/sysdeps/linux/common/bits/getopt.h
index
a192c03
..
6d1ebcf
100644
(file)
--- a/
libc/sysdeps/linux/common/bits/getopt.h
+++ b/
libc/sysdeps/linux/common/bits/getopt.h
@@
-157,6
+157,7
@@
extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
extern int getopt ();
#endif /* __GNU_LIBRARY__ */
+#ifdef __UCLIBC_HAS_GNU_GETOPT__
#ifndef __need_getopt
extern int getopt_long (int ___argc, char *const *___argv,
const char *__shortopts,
@@
-168,6
+169,7
@@
extern int getopt_long_only (int ___argc, char *const *___argv,
__THROW;
#endif
+#endif
#ifdef __cplusplus
}