don't include user-land headers compiling for libkern. (sync with libkern.)

This commit is contained in:
cgd 1996-04-18 02:30:07 +00:00
parent 4a134a0780
commit 57da02bd77
9 changed files with 45 additions and 9 deletions

View File

@ -33,10 +33,14 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)bcmp.c 5.6 (Berkeley) 2/24/91";*/
static char *rcsid = "$Id: bcmp.c,v 1.4 1996/02/04 23:43:54 jtc Exp $";
static char *rcsid = "$Id: bcmp.c,v 1.5 1996/04/18 02:30:07 cgd Exp $";
#endif /* LIBC_SCCS and not lint */
#ifndef _KERNEL
#include <string.h>
#else
#include <lib/libkern/libkern.h>
#endif
/*
* bcmp -- vax cmpc3 instruction

View File

@ -33,10 +33,14 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)bzero.c 5.7 (Berkeley) 2/24/91";*/
static char *rcsid = "$Id: bzero.c,v 1.3 1993/08/26 00:51:37 jtc Exp $";
static char *rcsid = "$Id: bzero.c,v 1.4 1996/04/18 02:30:09 cgd Exp $";
#endif /* LIBC_SCCS and not lint */
#ifndef _KERNEL
#include <string.h>
#else
#include <lib/libkern/libkern.h>
#endif
/*
* bzero -- vax movc5 instruction

View File

@ -33,10 +33,14 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)ffs.c 5.4 (Berkeley) 5/17/90";*/
static char *rcsid = "$Id: ffs.c,v 1.4 1995/06/15 00:07:20 jtc Exp $";
static char *rcsid = "$Id: ffs.c,v 1.5 1996/04/18 02:30:10 cgd Exp $";
#endif /* LIBC_SCCS and not lint */
#ifndef _KERNEL
#include <string.h>
#else
#include <lib/libkern/libkern.h>
#endif
/*
* ffs -- vax ffs instruction

View File

@ -33,10 +33,14 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strcat.c 5.6 (Berkeley) 2/24/91";*/
static char *rcsid = "$Id: strcat.c,v 1.4 1996/02/04 23:44:07 jtc Exp $";
static char *rcsid = "$Id: strcat.c,v 1.5 1996/04/18 02:30:12 cgd Exp $";
#endif /* LIBC_SCCS and not lint */
#ifndef _KERNEL
#include <string.h>
#else
#include <lib/libkern/libkern.h>
#endif
char *
strcat(s, append)

View File

@ -36,10 +36,14 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strcmp.c 5.5 (Berkeley) 1/26/91";*/
static char *rcsid = "$Id: strcmp.c,v 1.4 1995/06/15 00:07:40 jtc Exp $";
static char *rcsid = "$Id: strcmp.c,v 1.5 1996/04/18 02:30:13 cgd Exp $";
#endif /* LIBC_SCCS and not lint */
#ifndef _KERNEL
#include <string.h>
#else
#include <lib/libkern/libkern.h>
#endif
/*
* Compare strings.

View File

@ -33,10 +33,14 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strcpy.c 5.7 (Berkeley) 2/24/91";*/
static char *rcsid = "$Id: strcpy.c,v 1.5 1996/02/04 23:44:10 jtc Exp $";
static char *rcsid = "$Id: strcpy.c,v 1.6 1996/04/18 02:30:14 cgd Exp $";
#endif /* LIBC_SCCS and not lint */
#ifndef _KERNEL
#include <string.h>
#else
#include <lib/libkern/libkern.h>
#endif
char *
strcpy(to, from)

View File

@ -33,10 +33,14 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strlen.c 5.5 (Berkeley) 1/26/91";*/
static char *rcsid = "$Id: strlen.c,v 1.4 1995/06/15 00:08:00 jtc Exp $";
static char *rcsid = "$Id: strlen.c,v 1.5 1996/04/18 02:30:15 cgd Exp $";
#endif /* LIBC_SCCS and not lint */
#ifndef _KERNEL
#include <string.h>
#else
#include <lib/libkern/libkern.h>
#endif
size_t
strlen(str)

View File

@ -33,10 +33,14 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strncmp.c 5.6 (Berkeley) 1/26/91";*/
static char *rcsid = "$Id: strncmp.c,v 1.4 1995/06/15 00:08:14 jtc Exp $";
static char *rcsid = "$Id: strncmp.c,v 1.5 1996/04/18 02:30:16 cgd Exp $";
#endif /* LIBC_SCCS and not lint */
#ifndef _KERNEL
#include <string.h>
#else
#include <lib/libkern/libkern.h>
#endif
int
strncmp(s1, s2, n)

View File

@ -36,10 +36,14 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strncpy.c 5.6 (Berkeley) 1/26/91";*/
static char *rcsid = "$Id: strncpy.c,v 1.4 1995/06/15 00:08:20 jtc Exp $";
static char *rcsid = "$Id: strncpy.c,v 1.5 1996/04/18 02:30:18 cgd Exp $";
#endif /* LIBC_SCCS and not lint */
#ifndef _KERNEL
#include <string.h>
#else
#include <lib/libkern/libkern.h>
#endif
/*
* Copy src to dst, truncating or null-padding to always copy n bytes.