From 400dc0ede1161c72451b91080bb9b92c97ec449e Mon Sep 17 00:00:00 2001 From: mickey <> Date: Sun, 28 Nov 2004 07:16:54 +0000 Subject: repair libkern support (again) and add rcsids --- src/lib/libc/string/strncpy.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/lib/libc/string/strncpy.c') diff --git a/src/lib/libc/string/strncpy.c b/src/lib/libc/string/strncpy.c index 00493f4f7f..d73008c6db 100644 --- a/src/lib/libc/string/strncpy.c +++ b/src/lib/libc/string/strncpy.c @@ -1,3 +1,5 @@ +/* $OpenBSD: strncpy.c,v 1.5 2004/11/28 07:16:54 mickey Exp $ */ + /*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. @@ -31,10 +33,14 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: strncpy.c,v 1.4 2003/06/11 21:08:16 deraadt Exp $"; +static char *rcsid = "$OpenBSD: strncpy.c,v 1.5 2004/11/28 07:16:54 mickey Exp $"; #endif /* LIBC_SCCS and not lint */ +#if !defined(_KERNEL) && !defined(_STANDALONE) #include +#else +#include +#endif /* * Copy src to dst, truncating or null-padding to always copy n bytes. -- cgit v1.2.3-55-g6feb