aboutsummaryrefslogtreecommitdiff
path: root/posix/getopt_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/getopt_int.h')
-rw-r--r--posix/getopt_int.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/posix/getopt_int.h b/posix/getopt_int.h
index 502250388d..d05de32971 100644
--- a/posix/getopt_int.h
+++ b/posix/getopt_int.h
@@ -21,11 +21,15 @@
#define _GETOPT_INT_H 1
#include <getopt.h>
+#ifndef attribute_hidden
+# define attribute_hidden /* nothing */
+#endif
extern int _getopt_internal (int ___argc, char **___argv,
const char *__shortopts,
const struct option *__longopts, int *__longind,
- int __long_only, int __posixly_correct);
+ int __long_only, int __posixly_correct)
+ attribute_hidden;
/* Reentrant versions which can handle parsing multiple argument
@@ -102,17 +106,20 @@ extern int _getopt_internal_r (int ___argc, char **___argv,
const char *__shortopts,
const struct option *__longopts, int *__longind,
int __long_only, struct _getopt_data *__data,
- int __posixly_correct);
+ int __posixly_correct)
+ attribute_hidden;
extern int _getopt_long_r (int ___argc, char **___argv,
const char *__shortopts,
const struct option *__longopts, int *__longind,
- struct _getopt_data *__data);
+ struct _getopt_data *__data)
+ attribute_hidden;
extern int _getopt_long_only_r (int ___argc, char **___argv,
const char *__shortopts,
const struct option *__longopts,
int *__longind,
- struct _getopt_data *__data);
+ struct _getopt_data *__data)
+ attribute_hidden;
#endif /* getopt_int.h */