summaryrefslogtreecommitdiff
path: root/includes/option_system.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--includes/option_system.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/includes/option_system.h b/includes/option_system.h
index aa519e2..f95f5a9 100644
--- a/includes/option_system.h
+++ b/includes/option_system.h
@@ -326,14 +326,14 @@ extern anon0_50 prelinkargs;
extern anon0_50 postlinkargs;
extern void Arg_Init(int theargc, char **theargv);
-extern void Arg_Terminate();
-extern void Arg_Reset();
+extern void Arg_Terminate(void);
+extern void Arg_Reset(void);
extern void Arg_Stop(ArgToken *where);
-extern ArgToken *Arg_PeekToken();
-extern ArgToken *Arg_UsedToken();
-extern int Arg_IsEmpty();
-extern ArgToken *Arg_GetToken();
-extern ArgToken *Arg_UndoToken();
+extern ArgToken *Arg_PeekToken(void);
+extern ArgToken *Arg_UsedToken(void);
+extern int Arg_IsEmpty(void);
+extern ArgToken *Arg_GetToken(void);
+extern ArgToken *Arg_UndoToken(void);
extern const char *Arg_GetTokenName(ArgToken *tok);
extern const char *Arg_GetTokenText(ArgToken *tok, char *buffer, int maxlen, unsigned char warn);
extern void Arg_InitToolArgs(anon0_50 *ta);
@@ -364,19 +364,19 @@ typedef struct {
extern char curopt[1024];
-extern void Args_InitStack();
-extern int Args_StackSize();
+extern void Args_InitStack(void);
+extern int Args_StackSize(void);
extern void Args_Push(SInt16 flags, void *first, void *second);
extern Opt48 *Args_Pop(SInt16 flags);
extern void Args_SpellStack(char *buffer, SInt16 flags);
extern void Args_AddToToolArgs(anon0_50 *ta);
-extern void Options_Init();
-extern OptionList *Options_GetOptions();
-extern void Options_SortOptions();
+extern void Options_Init(void);
+extern OptionList *Options_GetOptions(void);
+extern void Options_SortOptions(void);
extern int Options_AddList(OptionList *optlst);
extern int Options_AddLists(OptionList **optlst);
extern int Option_ForTool(Option *opt, int which);
-extern int Option_ThisTool();
+extern int Option_ThisTool(void);
extern int Option_ForThisTool(Option *opt);
extern int Option_AlsoPassedToTool(Option *opt, int which);
extern int Option_AlsoPassedFromThisTool(Option *opt);
@@ -391,7 +391,7 @@ extern void Option_Error(SInt16 id, ...);
extern void Option_Warning(SInt16 id, ...);
extern int Options_Help(const char *keyword);
extern int Option_Help(const char *opt);
-extern int Options_DisplayHelp();
+extern int Options_DisplayHelp(void);
/********************************/
/* Parameter.c */
@@ -407,11 +407,11 @@ extern void Param_Warning(SInt16 id, ...);
/* Help.c */
extern int Help_Option(OptionList *lst, Option *opt, int subprint, const char *keyword);
extern void Help_Options(OptionList *lst, int subprint, const char *keyword);
-extern void Help_Usage();
-extern void Help_Null();
-extern void Help_Init();
+extern void Help_Usage(void);
+extern void Help_Null(void);
+extern void Help_Init(void);
extern void Help_Line(char ch);
-extern void Help_Term();
+extern void Help_Term(void);
#ifdef __cplusplus
}