summaryrefslogtreecommitdiff
path: root/includes/compiler/CompilerTools.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-11 22:29:53 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-11 22:29:53 +0000
commit0bec4f557a96e1a40437cf5af20cc78a5eec8a63 (patch)
treec1e05ec804c43aa5a8f5f21b0ed02d0587d29563 /includes/compiler/CompilerTools.h
parentaec1b8dddc68ecb8288ec6132932e4c7b4bca09f (diff)
downloadMWCC-0bec4f557a96e1a40437cf5af20cc78a5eec8a63.tar.gz
MWCC-0bec4f557a96e1a40437cf5af20cc78a5eec8a63.zip
getting closer
Diffstat (limited to '')
-rw-r--r--includes/compiler/CompilerTools.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/includes/compiler/CompilerTools.h b/includes/compiler/CompilerTools.h
index 82ef228..b218925 100644
--- a/includes/compiler/CompilerTools.h
+++ b/includes/compiler/CompilerTools.h
@@ -49,7 +49,7 @@ struct GList {
extern long hash_name_id;
extern HashNameNode **name_hash_nodes;
-extern void (*GListErrorProc)();
+extern void (*GListErrorProc)(void);
extern short InitGList(GList *gl, SInt32 size);
extern void FreeGList(GList *gl);
@@ -79,34 +79,34 @@ extern HashNameNode *GetHashNameNodeHash2(const char *name, SInt16 hashval);
extern HashNameNode *GetHashNameNodeExport(const char *name);
extern SInt32 GetHashNameNodeExportID(HashNameNode *node);
extern HashNameNode *GetHashNameNodeByID(SInt32 id);
-extern void NameHashExportReset();
+extern void NameHashExportReset(void);
extern void NameHashWriteNameTable(GList *glist);
extern void NameHashWriteTargetEndianNameTable(GList *glist);
-extern void InitNameHash();
+extern void InitNameHash(void);
-typedef void (*heaperror_t)();
+typedef void (*heaperror_t)(void);
-extern SInt32 CTool_TotalHeapSize();
+extern SInt32 CTool_TotalHeapSize(void);
extern void CTool_GetHeapInfo(HeapInfo *result, unsigned char heapID);
extern short initheaps(heaperror_t heaperrorproc);
extern short initgheap(heaperror_t heaperrorproc);
-extern heaperror_t getheaperror();
+extern heaperror_t getheaperror(void);
extern void setheaperror(heaperror_t heaperrorproc);
-extern void releaseheaps();
-extern void releasegheap();
-extern void releaseoheap();
+extern void releaseheaps(void);
+extern void releasegheap(void);
+extern void releaseoheap(void);
extern void *galloc(SInt32 s);
extern void *lalloc(SInt32 s);
extern void *aalloc(SInt32 s);
extern void *oalloc(SInt32 s);
extern void *balloc(SInt32 s);
-extern void locklheap();
-extern void unlocklheap();
-extern void freelheap();
-extern void freeaheap();
-extern void freeoheap();
-extern void freebheap();
+extern void locklheap(void);
+extern void unlocklheap(void);
+extern void freelheap(void);
+extern void freeaheap(void);
+extern void freeoheap(void);
+extern void freebheap(void);
extern char *ScanHex(char *string, UInt32 *result, Boolean *overflow);
extern char *ScanOct(char *string, UInt32 *result, Boolean *overflow);