Add the same protection as other files have for _KERNEL, which at least works

for the kernel.
This commit is contained in:
mycroft 1998-02-22 09:12:57 +00:00
parent 4477c62148
commit d0daf2d571
1 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bcopy.c,v 1.8 1998/02/03 18:49:10 perry Exp $ */
/* $NetBSD: bcopy.c,v 1.9 1998/02/22 09:12:57 mycroft Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -41,11 +41,15 @@
#if 0
static char sccsid[] = "@(#)bcopy.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: bcopy.c,v 1.8 1998/02/03 18:49:10 perry Exp $");
__RCSID("$NetBSD: bcopy.c,v 1.9 1998/02/22 09:12:57 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#ifndef _KERNEL
#include <string.h>
#else
#include <lib/libkern/libkern.h>
#endif
/*
* sizeof(word) MUST BE A POWER OF TWO