diff --git a/Contrib/System/Source/Buffers.c b/Contrib/System/Source/Buffers.c index e3824827..a1e1f213 100644 --- a/Contrib/System/Source/Buffers.c +++ b/Contrib/System/Source/Buffers.c @@ -4,11 +4,11 @@ #include "Buffers.h" typedef struct tagTempStack TempStack; -typedef struct tagTempStack +struct tagTempStack { TempStack *Next; char Data[0]; -} TempStack; +}; TempStack *tempstack = NULL; PLUGINFUNCTIONSHORT(Alloc) diff --git a/Contrib/System/Source/System.h b/Contrib/System/Source/System.h index 96f4cd82..ec34e31f 100644 --- a/Contrib/System/Source/System.h +++ b/Contrib/System/Source/System.h @@ -73,7 +73,7 @@ typedef struct // Our single proc (Since the user will free proc with GlobalFree, // I've declared all variables as statics) typedef struct tag_SystemProc SystemProc; -typedef struct tag_SystemProc +struct tag_SystemProc { int ProcType; int ProcResult; @@ -91,7 +91,7 @@ typedef struct tag_SystemProc int ArgsSize; // Clone of current element (used for multi-level callbacks) SystemProc *Clone; -} SystemProc; +}; extern const int ParamSizeByType[]; // Size of every parameter type (*4 bytes)