diff options
author | 1998-06-27 01:07:59 +0000 | |
---|---|---|
committer | 1998-06-27 01:07:59 +0000 | |
commit | c72bd19b7f9fefbe6ef6fba55f03e09a315a21f6 (patch) | |
tree | f5c311b2281c1023221d890e6505685bf072ee28 /sys/lib/libkern/strncpy.c | |
parent | fix for non-ansi compilers (diff) | |
download | wireguard-openbsd-c72bd19b7f9fefbe6ef6fba55f03e09a315a21f6.tar.xz wireguard-openbsd-c72bd19b7f9fefbe6ef6fba55f03e09a315a21f6.zip |
stand guys don't have string.h as well
Diffstat (limited to 'sys/lib/libkern/strncpy.c')
-rw-r--r-- | sys/lib/libkern/strncpy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libkern/strncpy.c b/sys/lib/libkern/strncpy.c index 45c8e04ae8a..b1cb68f3fee 100644 --- a/sys/lib/libkern/strncpy.c +++ b/sys/lib/libkern/strncpy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strncpy.c,v 1.3 1997/11/07 15:56:51 niklas Exp $ */ +/* $OpenBSD: strncpy.c,v 1.4 1998/06/27 01:07:59 mickey Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -38,10 +38,10 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)strncpy.c 5.6 (Berkeley) 1/26/91";*/ -static char *rcsid = "$OpenBSD: strncpy.c,v 1.3 1997/11/07 15:56:51 niklas Exp $"; +static char *rcsid = "$OpenBSD: strncpy.c,v 1.4 1998/06/27 01:07:59 mickey Exp $"; #endif /* LIBC_SCCS and not lint */ -#ifndef _KERNEL +#if !defined(_KERNEL) && !defined(_STANDALONE) #include <string.h> #else #include <lib/libkern/libkern.h> |