diff options
author | Zack Weinberg <zackw@panix.com> | 2018-03-18 17:01:06 -0400 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2018-03-26 09:05:19 -0400 |
commit | f66704a937db50bbd78acc5c29f569b4c8e35d19 (patch) | |
tree | 92d261f99ff3346bffb3a61f6e788fe0daf6093e /posix/getopt_int.h | |
parent | 9ea49e16c79bd2acd0d0648ca0163f26dd1c3dae (diff) | |
download | glibc-zack/wip-check-localplt-2.tar glibc-zack/wip-check-localplt-2.tar.gz glibc-zack/wip-check-localplt-2.tar.bz2 glibc-zack/wip-check-localplt-2.zip |
WIP finer-grained, more aggressive local PLT call checkzack/wip-check-localplt-2
Diffstat (limited to 'posix/getopt_int.h')
-rw-r--r-- | posix/getopt_int.h | 15 |
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 */ |