Subject: kern/937: kern Missing _ on symbol _KERNEL in header files
To: None <gnats-admin@NetBSD.ORG>
From: None <Paul.Goyette@pgoyette>
List: netbsd-bugs
Date: 04/02/1995 19:20:09
>Number:         937
>Category:       kern
>Synopsis:       Various header files missing _ on symbol _KERNEL
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr  2 19:20:04 1995
>Originator:     Paul Goyette
>Organization:
>Release:        1.0A
>Environment:
	<machine: Mac IIci, 
	 os: NetBSD/Mac 1.0A (current as of 4/1/95),
	 target:  N/A,
	 libraries: N/A >
>System: NetBSD pgoyette 1.0 NetBSD 1.0 (PRG) #3: Mon Feb 20 13:50:35 PST 1995 paul@pgoyette:/usr/local/netbsd10/src/sys/arch/mac68k/compile/PRG mac68k


>Description:
	 Various compilation errors resulting from incorrect header files while attempting
	 to rebuild kernel. 
>How-To-Repeat:
	 Simply make a kernel 
>Fix:
	 Change symbol KERNEL to _KERNEL in following files:
	    sys/ktrace.h           line 150
	    sys/sysctl.h                291
	    sys/uio.h                    76
	    sys/mbuf.h                  356
	    sys/socket.h                315
	    miscfs/fdesc/fdesc.h         43
	    miscfs/kernfs/kernfs.h       43
	    miscfs/nullfs/null.h         51
	    miscfs/procfs/procfs.h       78
	    miscfs/union/union.h         60
	    netinet/in_var.h             79
	    netinet/if_ether.h          149
	    netns/ns_if.h                80
	    vm/vm_object.h              118

	    (list may not be complete) 
>Audit-Trail:
>Unformatted: