Module Name: src
Committed By: skrll
Date: Sat Apr 25 12:20:48 UTC 2009
Modified Files:
src/common/lib/libc/string: bcmp.c
Log Message:
Only include <assert.h> and <string.h> if !_KERNEL && !_STANDALONE
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/common/lib/libc/string/bcmp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/common/lib/libc/string/bcmp.c
diff -u src/common/lib/libc/string/bcmp.c:1.5 src/common/lib/libc/string/bcmp.c:1.6
--- src/common/lib/libc/string/bcmp.c:1.5 Thu Mar 19 08:39:54 2009
+++ src/common/lib/libc/string/bcmp.c Sat Apr 25 12:20:48 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: bcmp.c,v 1.5 2009/03/19 08:39:54 he Exp $ */
+/* $NetBSD: bcmp.c,v 1.6 2009/04/25 12:20:48 skrll Exp $ */
/*
* Copyright (c) 1987, 1993
@@ -34,16 +34,16 @@
#if 0
static char sccsid[] = "@(#)bcmp.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: bcmp.c,v 1.5 2009/03/19 08:39:54 he Exp $");
+__RCSID("$NetBSD: bcmp.c,v 1.6 2009/04/25 12:20:48 skrll Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#if defined(_KERNEL) || defined(_STANDALONE)
#include <lib/libkern/libkern.h>
-#endif
#if defined(_STANDALONE)
#include <lib/libsa/stand.h>
+#endif
#else
#include <assert.h>
#include <string.h>