Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/include Avoid stupid gcc redefinition warning...
details: https://anonhg.NetBSD.org/src/rev/9d837f7612c5
branches: trunk
changeset: 350610:9d837f7612c5
user: martin <martin%NetBSD.org@localhost>
date: Sat Jan 14 16:15:10 2017 +0000
description:
Avoid stupid gcc redefinition warnings by #undef before redefine.
diffstat:
sys/arch/alpha/include/asm.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r c0df28995a76 -r 9d837f7612c5 sys/arch/alpha/include/asm.h
--- a/sys/arch/alpha/include/asm.h Sat Jan 14 16:12:51 2017 +0000
+++ b/sys/arch/alpha/include/asm.h Sat Jan 14 16:15:10 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.34 2013/07/11 19:50:55 matt Exp $ */
+/* $NetBSD: asm.h,v 1.35 2017/01/14 16:15:10 martin Exp $ */
/*
* Copyright (c) 1991,1990,1989,1994,1995,1996 Carnegie Mellon University
@@ -133,6 +133,7 @@
/*
* Useful stuff.
*/
+#undef __CONCAT
#ifdef __STDC__
#define __CONCAT(a,b) a ## b
#else
@@ -642,6 +643,7 @@
/*
* Kernel RCS ID tag and copyright macros
*/
+#undef __SECTIONSTRING
#define __SECTIONSTRING(_sec, _str) \
.pushsection _sec ; .asciz _str ; .popsection
Home |
Main Index |
Thread Index |
Old Index