]> git.sur5r.net Git - cc65/blobdiff - src/cc65/datatype.c
Added the io module
[cc65] / src / cc65 / datatype.c
index 21d2320def5dc5225268fc8bd35c7250420deca6..5baf532697ce11ad33dd385cdd9a181b4841b696 100644 (file)
 
 #include <string.h>
 
+#include "../common/xmalloc.h"
+
 #include "check.h"
 #include "codegen.h"
 #include "datatype.h"
 #include "error.h"
 #include "funcdesc.h"
 #include "global.h"
-#include "mem.h"
 #include "util.h"
 #include "symtab.h"
 
@@ -184,10 +185,9 @@ type* GetImplicitFuncType (void)
     type* T = TypeAlloc (1 + DECODE_SIZE + 2);
 
     /* Prepare the function descriptor */
-    F->Flags    = FD_IMPLICIT | FD_ELLIPSIS;
-    F->SymTab   = &EmptySymTab;
-    F->StructTab = &EmptySymTab;
-    F->EnumTab   = &EmptySymTab;
+    F->Flags  = FD_IMPLICIT | FD_EMPTY | FD_ELLIPSIS;
+    F->SymTab = &EmptySymTab;
+    F->TagTab = &EmptySymTab;
 
     /* Fill the type string */
     T [0]            = T_FUNC;