$NetBSD: patch-ae,v 1.4 2006/10/10 06:56:05 uebayasi Exp $ --- ld/table.c.orig 1994-02-19 23:36:05.000000000 +0100 +++ ld/table.c @@ -13,6 +13,7 @@ void *malloc P((unsigned size)); #else #undef NULL #include +#include #endif #define GOLDEN 157 /* GOLDEN/HASHTABSIZE approx golden ratio */ @@ -48,7 +49,7 @@ PUBLIC struct symstruct *addsym(name) char *name; { struct symstruct **hashptr; - struct symstruct *oldsymptr; + struct symstruct *oldsymptr = NULL; struct symstruct *symptr; hashptr = gethashptr(name);