diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-01 09:22:45 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-01 09:22:45 +0000 |
commit | f45706ca6ade259d2cf9397c35b0135991470197 (patch) | |
tree | e21580a7be5c6ab7c2e0ddd7be61b6a2f9c23bf5 /libc/unistd/getopt.c | |
parent | 2fe646ffaa4a775a63d850a3591824e5cb85d13c (diff) |
global data uses libc_hidden_data_def, convert all -I hope- and add some new
Diffstat (limited to 'libc/unistd/getopt.c')
-rw-r--r-- | libc/unistd/getopt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/unistd/getopt.c b/libc/unistd/getopt.c index 514187995..770345a08 100644 --- a/libc/unistd/getopt.c +++ b/libc/unistd/getopt.c @@ -84,7 +84,7 @@ extern int _getopt_internal (int argc, char *const *argv, const char *optstring, each non-option ARGV-element is returned here. */ char *optarg = NULL; -libc_hidden_def(optarg) +libc_hidden_data_def(optarg) /* Index in ARGV of the next element to be scanned. This is used for communication to and from the caller @@ -100,20 +100,20 @@ libc_hidden_def(optarg) /* 1003.2 says this must be 1 before any call. */ int optind = 1; -libc_hidden_def(optind) +libc_hidden_data_def(optind) /* Callers store zero here to inhibit the error message for unrecognized options. */ int opterr = 1; -libc_hidden_def(opterr) +libc_hidden_data_def(opterr) /* Set to an option character which was unrecognized. This must be initialized on some systems to avoid linking in the system's own getopt implementation. */ int optopt = '?'; -libc_hidden_def(optopt) +libc_hidden_data_def(optopt) /* The next char to be scanned in the option-element in which the last option character we returned was found. |