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/parser.h | |
parent | aec1b8dddc68ecb8288ec6132932e4c7b4bca09f (diff) | |
download | MWCC-0bec4f557a96e1a40437cf5af20cc78a5eec8a63.tar.gz MWCC-0bec4f557a96e1a40437cf5af20cc78a5eec8a63.zip |
getting closer
Diffstat (limited to '')
-rw-r--r-- | includes/parser.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/includes/parser.h b/includes/parser.h index ae28fee..92e4504 100644 --- a/includes/parser.h +++ b/includes/parser.h @@ -125,9 +125,9 @@ typedef struct { OptionList **optionLists; int numPrefDataPanels; PrefDataPanel *prefDataPanels; - int (*PreParse)(); - int (*MidParse)(); - int (*PostParse)(); + int (*PreParse)(void); + int (*MidParse)(void); + int (*PostParse)(void); } ParserTool; // assumed name typedef struct { @@ -184,7 +184,7 @@ extern Pragma irPragmas[]; extern int SetPragmaOptimizationsToUnspecified(const char *opt, void *, const char *, int); extern int SetOptFlags(const char *opt, void *str, const char *, int flags); -extern int DisplayOptimizationOptions(); +extern int DisplayOptimizationOptions(const char *, void *, const char *, int); /********************************/ /* ParserErrors.c */ @@ -281,12 +281,12 @@ extern int SetupPragmas(const Pragma *pragmas); /********************************/ /* Projects.c */ -extern int GetFileCount(); +extern int GetFileCount(void); extern void SetFileOutputName(SInt32 position, SInt16 which, char *outfilename); extern int AddFileToProject(OSSpec *oss, SInt16 which, char *outfilename, Boolean exists, SInt32 position); extern Boolean GetFileInfo(SInt32 position, OSSpec *spec, char *plugin); extern int AddAccessPath(OSPathSpec *oss, SInt16 type, SInt32 position, Boolean recursive); -extern int MoveSystemPathsIntoUserList(); +extern int MoveSystemPathsIntoUserList(void); extern void AddVirtualFile(const char *filename, Handle *text); extern void GetOutputFileDirectory(OSPathSpec *dir); extern void SetOutputFileDirectory(OSPathSpec *dir); @@ -302,7 +302,7 @@ extern char schedule_ppc_default; extern int TargetSetOptFlags(short val, Boolean set); extern void TargetDisplayOptimizationOptions(Handle txt); -extern void TargetSetPragmaOptimizationsToUnspecified(); +extern void TargetSetPragmaOptimizationsToUnspecified(void); /********************************/ /* TargetWarningHelpers-ppc-cc.c */ @@ -318,7 +318,7 @@ extern ParserTool *pTool; extern int SetParserToolInfo(ParserTool *tool); extern Boolean ParserToolMatchesPlugin(OSType type, OSType lang, OSType cpu, OSType os); extern Boolean ParserToolHandlesPanels(int numPanels, const char **panelNames); -extern Boolean SetupParserToolOptions(); +extern Boolean SetupParserToolOptions(void); /********************************/ /* ToolHelpers.c */ @@ -348,7 +348,7 @@ extern int Opt_RedirectStream(const char *opt, void *file, const char *filename) /* ToolHelpers-cc.c */ extern int Opt_DummyLinkerRoutine(const char *opt, void *, const char *, int); extern int Opt_DummyLinkerSettingRoutine(const char *var, const char *val); -extern void FinishCompilerTool(); +extern void FinishCompilerTool(void); /********************************/ /* Utils.c */ @@ -363,7 +363,7 @@ extern int Utils_CompareOptionString(const char *a, const char *b, int cased, in /********************************/ /* WarningHelpers.c */ extern int SetWarningFlags(const char *opt, void *str, const char *, int flags); -extern int DisplayWarningOptions(); +extern int DisplayWarningOptions(const char *, void *, const char *, int); #ifdef __cplusplus extern "C" } |