summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/string/t_memcpy.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-11-17 13:39:00 +0000
committerngie <ngie@FreeBSD.org>2014-11-17 13:39:00 +0000
commit8177391ac84430aeb73987802ea58e8bfe9ba72b (patch)
tree5afba437c6e7f13eeeb63c7313aa547c8c24536d /contrib/netbsd-tests/lib/libc/string/t_memcpy.c
parente5d03fbe91f9f0c573d55b2d87f2a1eb517ba14b (diff)
downloadFreeBSD-src-8177391ac84430aeb73987802ea58e8bfe9ba72b.zip
FreeBSD-src-8177391ac84430aeb73987802ea58e8bfe9ba72b.tar.gz
Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) with
their #ifdef equivalents for everything changed in contrib/netbsd-tests. There are some items from the vendor tree that use #if defined(__FreeBSD__) or #if defined(__NetBSD__) which are being left alone Requested by: bde, rpaulo Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/string/t_memcpy.c')
-rw-r--r--contrib/netbsd-tests/lib/libc/string/t_memcpy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/netbsd-tests/lib/libc/string/t_memcpy.c b/contrib/netbsd-tests/lib/libc/string/t_memcpy.c
index c9e52a3..192a4e8 100644
--- a/contrib/netbsd-tests/lib/libc/string/t_memcpy.c
+++ b/contrib/netbsd-tests/lib/libc/string/t_memcpy.c
@@ -51,7 +51,7 @@ unsigned char *start[BLOCKTYPES] = {
};
char result[100];
-#if defined(__NetBSD__)
+#ifdef __NetBSD__
const char goodResult[] = "7b405d24bc03195474c70ddae9e1f8fb";
#else
const char goodResult[] = "217b4fbe456916bf62a2f85df752e4ab";
@@ -93,7 +93,7 @@ ATF_TC_BODY(memcpy_basic, tc)
start[2] = auto1;
start[3] = auto2;
-#if defined(__NetBSD__)
+#ifdef __NetBSD__
srandom(0L);
#else
/*
OpenPOWER on IntegriCloud