summaryrefslogtreecommitdiff
path: root/includes/compiler/CompilerTools.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/compiler/CompilerTools.h')
-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);