summaryrefslogtreecommitdiff
path: root/command_line/CmdLine
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-15 12:14:05 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-15 12:14:05 +0000
commit35d488e972a9dd75ce3867c000405f128b79c615 (patch)
treee3319a23d9aa0d4725f88a99fdd5131488a334a9 /command_line/CmdLine
parent8078e7f897aaae9b492b22475060052d68b9c547 (diff)
downloadMWCC-35d488e972a9dd75ce3867c000405f128b79c615.tar.gz
MWCC-35d488e972a9dd75ce3867c000405f128b79c615.zip
reorganise things a bit to align further with the actual names/structure
Diffstat (limited to 'command_line/CmdLine')
-rw-r--r--command_line/CmdLine/Src/CLFileTypes.c (renamed from command_line/CmdLine/Src/uFileTypeMappings.c)2
-rw-r--r--command_line/CmdLine/Src/Clients/CLStaticMain.c10
2 files changed, 5 insertions, 7 deletions
diff --git a/command_line/CmdLine/Src/uFileTypeMappings.c b/command_line/CmdLine/Src/CLFileTypes.c
index 56aaea5..3416603 100644
--- a/command_line/CmdLine/Src/uFileTypeMappings.c
+++ b/command_line/CmdLine/Src/CLFileTypes.c
@@ -1,7 +1,5 @@
#include "cmdline.h"
-// I don't actually have a name for this file, annoyingly enough
-
void AddFileTypeMappingList(OSFileTypeMappings **list, const OSFileTypeMappingList *entry) {
OS_AddFileTypeMappingList(list, entry);
}
diff --git a/command_line/CmdLine/Src/Clients/CLStaticMain.c b/command_line/CmdLine/Src/Clients/CLStaticMain.c
index 871dcef..77910fe 100644
--- a/command_line/CmdLine/Src/Clients/CLStaticMain.c
+++ b/command_line/CmdLine/Src/Clients/CLStaticMain.c
@@ -4,16 +4,16 @@ extern const char *CMDLINE_BUILD_TIME;
extern const char *CMDLINE_BUILD_DATE;
// Glue functions
-extern int RegisterStaticParserPlugins();
-extern int RegisterStaticParserResources();
+extern int RegisterStaticParserPlugins(void);
+extern int RegisterStaticParserResources(void);
extern void GetStaticTarget(OSType *cpu, OSType *os);
extern void GetStaticPluginType(OSType *language, OSType *plugintype);
extern void GetStaticParserPluginType(OSType *style);
-extern int RegisterStaticTargetResources();
-extern int RegisterStaticTargetPlugins();
+extern int RegisterStaticTargetResources(void);
+extern int RegisterStaticTargetPlugins(void);
-extern int RegisterStaticParserToolInfo();
+extern int RegisterStaticParserToolInfo(void);
int main(int argc, char **argv) {
OSType cpu;