diff options
author | Colin Cross <ccross@android.com> | 2017-08-17 18:29:54 +0000 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2017-08-17 18:29:54 +0000 |
commit | 9af9120091ceb96641d7c6c645fabad96db4bc0d (patch) | |
tree | 0ac35e33169ae9b07c075a3c623148d2e974d14f /libc/include/getopt.h | |
parent | 079bff4fa52b0c3c76057451cc9cdecf1827fce0 (diff) | |
download | android_bionic-9af9120091ceb96641d7c6c645fabad96db4bc0d.tar.gz android_bionic-9af9120091ceb96641d7c6c645fabad96db4bc0d.tar.bz2 android_bionic-9af9120091ceb96641d7c6c645fabad96db4bc0d.zip |
Revert "Name function arguments in libc headers for Studio."
This reverts commit 079bff4fa52b0c3c76057451cc9cdecf1827fce0.
Broke builds with SANITIZE_HOST=address with an asan failure in versioner.
Change-Id: I22b113fd5405589d1a25e5e137c450aaba1ade5f
Diffstat (limited to 'libc/include/getopt.h')
-rw-r--r-- | libc/include/getopt.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libc/include/getopt.h b/libc/include/getopt.h index c5a6106ba..46d2eb79c 100644 --- a/libc/include/getopt.h +++ b/libc/include/getopt.h @@ -59,8 +59,10 @@ struct option { }; __BEGIN_DECLS -int getopt_long(int __argc, char* const* __argv, const char* __options, const struct option* __long_options, int* __long_index); -int getopt_long_only(int __argc, char* const* __argv, const char* __options, const struct option* __long_options, int* __long_index); +int getopt_long(int, char * const *, const char *, + const struct option *, int *); +int getopt_long_only(int, char * const *, const char *, + const struct option *, int *); #ifndef _OPTRESET_DECLARED #define _OPTRESET_DECLARED @@ -68,4 +70,4 @@ extern int optreset; /* getopt(3) external variable */ #endif __END_DECLS -#endif +#endif /* !_GETOPT_H_ */ |