saveload.h
changeset 1093 e8d26c7dc42f
parent 1024 9b06b01490a4
child 1217 ab9f02a224ab
--- a/saveload.h	Sat Jan 22 19:41:30 2005 +0000
+++ b/saveload.h	Sat Jan 22 20:23:18 2005 +0000
@@ -3,7 +3,7 @@
 
 #include <setjmp.h>
 
-typedef void ChunkSaveLoadProc();
+typedef void ChunkSaveLoadProc(void);
 typedef void AutolengthProc(void *arg);
 
 typedef struct SaveLoadGlobVarList {
@@ -26,7 +26,7 @@
 } NullStruct;
 
 typedef void WriterProc(uint len);
-typedef uint ReaderProc();
+typedef uint ReaderProc(void);
 
 typedef uint ReferenceToIntProc(void *v, uint t);
 typedef void *IntToReferenceProc(uint r, uint t);
@@ -62,7 +62,7 @@
 	uint bufsize;
 	FILE *fh;
 
-	void (*excpt_uninit)();
+	void (*excpt_uninit)(void);
 	const char *excpt_msg;
 	jmp_buf excpt; // used to jump to "exception handler"
 } SaverLoader;
@@ -159,12 +159,12 @@
 
 
 void SlSetArrayIndex(uint index);
-int SlIterateArray();
+int SlIterateArray(void);
 void SlArray(void *array, uint length, uint conv);
 void SlObject(void *object, const void *desc);
 void SlAutolength(AutolengthProc *proc, void *arg);
-uint SlGetFieldLength();
-int SlReadByte();
+uint SlGetFieldLength(void);
+int SlReadByte(void);
 void SlSetLength(uint length);
 void SlWriteByte(byte v);
 void SlGlobList(const SaveLoadGlobVarList *desc);