diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-11 22:29:53 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-11 22:29:53 +0000 |
commit | 0bec4f557a96e1a40437cf5af20cc78a5eec8a63 (patch) | |
tree | c1e05ec804c43aa5a8f5f21b0ed02d0587d29563 /includes/option_system.h | |
parent | aec1b8dddc68ecb8288ec6132932e4c7b4bca09f (diff) | |
download | MWCC-0bec4f557a96e1a40437cf5af20cc78a5eec8a63.tar.gz MWCC-0bec4f557a96e1a40437cf5af20cc78a5eec8a63.zip |
getting closer
Diffstat (limited to '')
-rw-r--r-- | includes/option_system.h | 36 |
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 } |