$NetBSD: patch-ai,v 1.3 2006/10/10 06:56:05 uebayasi Exp $ --- as/genobj.c.orig 1993-07-10 21:10:53.000000000 +0200 +++ as/genobj.c @@ -18,7 +18,6 @@ unsigned strlen P((const char *s)); #ifdef POSIX_HEADERS_MISSING int write P((int fd, const void *buf, unsigned nbytes)); #else -#undef NULL #include #include #endif @@ -385,8 +384,8 @@ PUBLIC void objheader() do { if ((symptr->type & EXPBIT || symptr->data & IMPBIT) || - !globals_only_in_obj && symptr->name[0] != '.' && - !(symptr->type & (MNREGBIT | MACBIT | VARBIT))) + (!globals_only_in_obj && symptr->name[0] != '.' && + !(symptr->type & (MNREGBIT | MACBIT | VARBIT)))) { if (copyptr >= (struct sym_s **) heapend) {