Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/kernel Avoid ssp re-definitions for the functions we p...
details: https://anonhg.NetBSD.org/src/rev/87878913110e
branches: trunk
changeset: 782376:87878913110e
user: christos <christos%NetBSD.org@localhost>
date: Wed Oct 31 13:48:12 2012 +0000
description:
Avoid ssp re-definitions for the functions we provide.
diffstat:
tests/kernel/gen_t_subr_prf | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r ee15984cc885 -r 87878913110e tests/kernel/gen_t_subr_prf
--- a/tests/kernel/gen_t_subr_prf Wed Oct 31 13:05:09 2012 +0000
+++ b/tests/kernel/gen_t_subr_prf Wed Oct 31 13:48:12 2012 +0000
@@ -9,6 +9,12 @@
#include <atf-c.h>
+/* Avoid SSP re-definitions */
+#undef snprintf
+#undef vsnprintf
+#undef sprintf
+#undef vsprintf
+
#define KPRINTF_BUFSIZE 1024
#undef putchar
#define putchar xputchar
Home |
Main Index |
Thread Index |
Old Index