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/cmdline.h | |
parent | aec1b8dddc68ecb8288ec6132932e4c7b4bca09f (diff) | |
download | MWCC-0bec4f557a96e1a40437cf5af20cc78a5eec8a63.tar.gz MWCC-0bec4f557a96e1a40437cf5af20cc78a5eec8a63.zip |
getting closer
Diffstat (limited to '')
-rw-r--r-- | includes/cmdline.h | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/includes/cmdline.h b/includes/cmdline.h index 2c40cb1..6c39423 100644 --- a/includes/cmdline.h +++ b/includes/cmdline.h @@ -461,7 +461,7 @@ extern void SetBuildTarget(OSType cpu, OSType os); extern void SetParserType(OSType plang); extern void SetPluginType(OSType lang, OSType type); extern int CmdLine_Initialize(int argc, char **argv, const char *builddate, const char *buildtime); -extern int CmdLine_Driver(); +extern int CmdLine_Driver(void); extern int CmdLine_Terminate(int exitcode); /********************************/ @@ -476,20 +476,20 @@ extern void CLFatalError(const char *format, ...); /********************************/ /* Envir/CLIO.c */ -extern void SetupDebuggingTraps(); -extern Boolean IO_Initialize(); -extern Boolean IO_Terminate(); -extern Boolean IO_HelpInitialize(); -extern Boolean IO_HelpTerminate(); +extern void SetupDebuggingTraps(void); +extern Boolean IO_Initialize(void); +extern Boolean IO_Terminate(void); +extern Boolean IO_HelpInitialize(void); +extern Boolean IO_HelpTerminate(void); extern void FixHandleForIDE(Handle text, UInt32 size); extern Boolean ShowHandle(Handle text, UInt32 size, Boolean decorate); extern Boolean WriteHandleToFile(OSSpec *spec, Handle text, UInt32 size, OSType creator, OSType type); extern Boolean WriteBinaryHandleToFile(OSSpec *spec, OSType maccreator, OSType mactype, OSHandle *text); extern Boolean AppendHandleToFile(OSSpec *spec, Handle text, UInt32 size, OSType maccreator, OSType mactype); -extern void InitWorking(); +extern void InitWorking(void); extern void ShowWorking(int x); -extern void TermWorking(); -extern Boolean CheckForUserBreak(); +extern void TermWorking(void); +extern Boolean CheckForUserBreak(void); extern char *IO_FormatText(char *buffer, SInt32 size, char *newline, const char *format, ...); extern void CLPrintDispatch(int unk, SInt16 msgtype, const char *message); extern void CLPrintType(SInt16 msgtype, const char *format, ...); @@ -500,7 +500,7 @@ extern SInt16 CLStyledMessageDispatch(Plugin *plugin, MessageRef *ref, SInt32 er /********************************/ /* Plugins/CLPlugins.c */ -extern const ToolVersionInfo *Plugin_GetToolVersionInfo(); +extern const ToolVersionInfo *Plugin_GetToolVersionInfo(void); extern const char *Plugin_GetDropInName(Plugin *pl); extern const VersionInfo *Plugin_GetVersionInfo(Plugin *pl); extern char *Plugin_GetVersionInfoASCII(Plugin *pl); @@ -523,8 +523,8 @@ extern Boolean Plugin_CL_GetCompilerMapping(Plugin *pl, OSType type, const char extern Plugin *Plugin_New(const BasePluginCallbacks *cb, const CompilerLinkerPluginCallbacks *cl_cb, const ParserPluginCallbacks *pr_cb); extern void Plugin_Free(Plugin *pl); extern Boolean Plugin_VerifyPanels(Plugin *pl); -extern void Plugins_Init(); -extern void Plugins_Term(); +extern void Plugins_Init(void); +extern void Plugins_Term(void); extern int Plugins_Add(Plugin *pl); extern Plugin *Plugins_MatchName(Plugin *list, const char *name); extern Plugin *Plugins_CL_MatchTarget(Plugin *list, OSType cpu, OSType os, OSType type, OSType lang); @@ -562,8 +562,8 @@ extern void Paths_CopyRecurseFSS(FSSpec *list, Paths *paths, UInt16 count); extern Boolean MakeFrameworkPath(char *out, const char *filename, Path *globalpath); extern void Frameworks_AddPath(const OSPathSpec *oss); extern int Frameworks_AddFramework(const char *name, const char *version, Boolean hidden); -extern void Framework_GetEnvInfo(); -extern int Frameworks_GetCount(); +extern void Framework_GetEnvInfo(void); +extern int Frameworks_GetCount(void); extern Paths_FWInfo *Frameworks_GetInfo(int which); // Not sure if this is the right TU for this @@ -571,7 +571,7 @@ extern Paths FrameworkPaths; /********************************/ /* Project/CLFiles.c */ -extern File *File_New(); +extern File *File_New(void); extern void File_Free(File *file); extern Boolean Files_Initialize(Files *); extern Boolean Files_Terminate(Files *); @@ -643,7 +643,7 @@ extern Boolean Incls_FindFileInPaths(Incls *incls, char *filename, Boolean fulls extern Boolean Deps_Initialize(Deps *deps, Incls *incls); extern void Deps_Terminate(Deps *deps); extern int Deps_ChangeSpecialAccessPath(OSSpec *srcfss, Boolean initialize); -extern Path *Deps_GetSpecialAccessPath(); +extern Path *Deps_GetSpecialAccessPath(void); extern void Deps_AddDependency(Deps *deps, SInt32 incl, OSSpec *spec, Boolean unk, SInt16 dependencyType, Boolean *alreadyincluded); extern void Deps_ListDependencies(Incls *incls, File *file, OSHandle *h); @@ -651,25 +651,25 @@ extern void Deps_ListDependencies(Incls *incls, File *file, OSHandle *h); /* CLFileOps.c */ extern int GetOutputFile(File *file, SInt16 stage); extern int StoreObjectFile(File *file); -extern int CompileFilesInProject(); -extern int LinkProject(); +extern int CompileFilesInProject(void); +extern int LinkProject(void); /********************************/ /* CLIncludeFileCache.c */ -extern void InitializeIncludeCache(); -extern void CleanupIncludeCache(); +extern void InitializeIncludeCache(void); +extern void CleanupIncludeCache(void); extern void CacheIncludeFile(OSSpec *spec, Handle text, Boolean precompiled); extern Handle CachedIncludeFile(OSSpec *spec, Boolean *precompiled); extern void FreeIncludeFile(Handle text); /********************************/ /* CLLicenses.c */ -extern void License_Initialize(); -extern void License_Terminate(); -extern SInt32 License_Checkout(); -extern void License_Refresh(); -extern void License_Checkin(); -extern void License_AutoCheckin(); +extern void License_Initialize(void); +extern void License_Terminate(void); +extern SInt32 License_Checkout(/* unknown args */); +extern void License_Refresh(/* unknown args */); +extern void License_Checkin(/* unknown args */); +extern void License_AutoCheckin(void); /********************************/ /* CLLoadAndCache.c */ @@ -683,7 +683,7 @@ extern void Main_PreParse(int *argc, char ***argv); extern void Main_PassSpecialArgs(int *argc, char ***argv); extern int Main_Initialize(int argc, char **argv); extern int Main_Terminate(int code); -extern int Main_Driver(); +extern int Main_Driver(void); /********************************/ /* CLPluginRequests.cpp */ @@ -714,8 +714,8 @@ extern Boolean SendInitOrTermRequest(Plugin *plugin, Boolean reqIsInitialize); extern PrefPanel *PrefPanel_New(const char *name, void *initdata, SInt32 initdatasize); extern Handle PrefPanel_GetHandle(PrefPanel *panel); extern int PrefPanel_PutHandle(PrefPanel *panel, Handle data); -extern void Prefs_Initialize(); -extern void Prefs_Terminate(); +extern void Prefs_Initialize(void); +extern void Prefs_Terminate(void); extern Boolean Prefs_AddPanel(PrefPanel *panel); extern PrefPanel *Prefs_FindPanel(const char *name); @@ -729,8 +729,8 @@ extern void Target_Add(Target **list, Target *targ); /********************************/ /* CLToolExec.c */ extern void AppendArgumentList(int *argc, char ***argv, const char *str); -extern int SetupTemporaries(); -extern int DeleteTemporaries(); +extern int SetupTemporaries(void); +extern int DeleteTemporaries(void); extern int ExecuteLinker(Plugin *plugin, SInt32 dropinflags, File *file, char *stdoutfile, char *stderrfile); /********************************/ |