Module Name: src Committed By: tsutsui Date: Fri Jun 19 05:09:09 UTC 2009
Modified Files: src/common/lib/libc/hash/sha2: sha2.c Log Message: - move #include <sys/param.h> inside #if defined(_KERNEL) section where it's actually required - add XXX comments that notes <sys/param.h> is required for vax memset(9) To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/common/lib/libc/hash/sha2/sha2.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/hash/sha2/sha2.c diff -u src/common/lib/libc/hash/sha2/sha2.c:1.16 src/common/lib/libc/hash/sha2/sha2.c:1.17 --- src/common/lib/libc/hash/sha2/sha2.c:1.16 Thu Jun 18 15:22:24 2009 +++ src/common/lib/libc/hash/sha2/sha2.c Fri Jun 19 05:09:09 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: sha2.c,v 1.16 2009/06/18 15:22:24 he Exp $ */ +/* $NetBSD: sha2.c,v 1.17 2009/06/19 05:09:09 tsutsui Exp $ */ /* $KAME: sha2.c,v 1.9 2003/07/20 00:28:38 itojun Exp $ */ /* @@ -41,17 +41,17 @@ #endif #include <sys/cdefs.h> -#include <sys/param.h> #if defined(_KERNEL) || defined(_STANDALONE) -__KERNEL_RCSID(0, "$NetBSD: sha2.c,v 1.16 2009/06/18 15:22:24 he Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sha2.c,v 1.17 2009/06/19 05:09:09 tsutsui Exp $"); +#include <sys/param.h> /* XXX: to pull <machine/macros.h> for vax memset(9) */ #include <lib/libkern/libkern.h> #else #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: sha2.c,v 1.16 2009/06/18 15:22:24 he Exp $"); +__RCSID("$NetBSD: sha2.c,v 1.17 2009/06/19 05:09:09 tsutsui Exp $"); #endif /* LIBC_SCCS and not lint */ #include "namespace.h"