]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys.h
fixed bug that was causing seta commands to usually not save to config.cfg (due to...
[xonotic/darkplaces.git] / sys.h
diff --git a/sys.h b/sys.h
index afaf8ecc4adab8f4af1b74b73413bc7aef819927..d02ae24466a420f09356c85a34a4e380da09cf49 100644 (file)
--- a/sys.h
+++ b/sys.h
@@ -37,7 +37,7 @@ typedef HMODULE dllhandle_t;
   typedef void* dllhandle_t;
 #endif
 
-typedef struct
+typedef struct dllfunction_s
 {
        const char *name;
        void **funcvariable;
@@ -61,7 +61,7 @@ char *Sys_TimeString(const char *timeformat);
 //
 // system IO interface (these are the sys functions that need to be implemented in a new driver atm)
 //
-void Sys_Error (const char *error, ...);
+void Sys_Error (const char *error, ...) DP_FUNC_PRINTF(1);
 // an error will cause the entire program to exit
 
 void Sys_PrintToTerminal(const char *text);