Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/gnu-efi/dist/lib No need for private versio...
details: https://anonhg.NetBSD.org/src/rev/98ace828552e
branches: trunk
changeset: 365476:98ace828552e
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Aug 16 18:25:45 2018 +0000
description:
No need for private versions of memset/memcpy on NetBSD
diffstat:
sys/external/bsd/gnu-efi/dist/lib/init.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r e6689d8f9723 -r 98ace828552e sys/external/bsd/gnu-efi/dist/lib/init.c
--- a/sys/external/bsd/gnu-efi/dist/lib/init.c Thu Aug 16 18:24:35 2018 +0000
+++ b/sys/external/bsd/gnu-efi/dist/lib/init.c Thu Aug 16 18:25:45 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: init.c,v 1.1.1.2 2018/08/16 18:17:47 jmcneill Exp $ */
+/* $NetBSD: init.c,v 1.2 2018/08/16 18:25:45 jmcneill Exp $ */
/*++
@@ -185,6 +185,7 @@
}
}
+#if !defined(__NetBSD__)
/*
* Calls to memset/memcpy may be emitted implicitly by GCC or MSVC
* even when -ffreestanding or /NODEFAULTLIB are in effect.
@@ -214,3 +215,4 @@
return dest;
}
+#endif
Home |
Main Index |
Thread Index |
Old Index