From 8b1fa1b3c7cb9a266aa177bffa2ef5724e79f33a Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 6 May 2005 10:23:32 +0000 Subject: [PATCH] don't typedef struct twice git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4014 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/System/Source/Buffers.c | 4 ++-- Contrib/System/Source/System.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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)