aboutsummaryrefslogtreecommitdiffstats
path: root/builtins/bashgetopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'builtins/bashgetopt.h')
-rw-r--r--builtins/bashgetopt.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/builtins/bashgetopt.h b/builtins/bashgetopt.h
index 773fc00..93cf590 100644
--- a/builtins/bashgetopt.h
+++ b/builtins/bashgetopt.h
@@ -23,6 +23,8 @@
#if !defined (__BASH_GETOPT_H)
# define __BASH_GETOPT_H
+#include <stdc.h>
+
extern char *list_optarg;
extern int list_optopt;
@@ -30,8 +32,8 @@ extern int list_optopt;
extern WORD_LIST *lcurrent;
extern WORD_LIST *loptend;
-extern int internal_getopt ();
-extern void reset_internal_getopt ();
-extern void report_bad_option ();
+extern int internal_getopt __P((WORD_LIST *, char *));
+extern void reset_internal_getopt __P((void));
+extern void report_bad_option __P((void));
#endif /* !__BASH_GETOPT_H */