Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys use #elif rather than nesting #elses
details: https://anonhg.NetBSD.org/src/rev/14cfe25a2ceb
branches: trunk
changeset: 781166:14cfe25a2ceb
user: dholland <dholland%NetBSD.org@localhost>
date: Fri Aug 24 05:47:51 2012 +0000
description:
use #elif rather than nesting #elses
diffstat:
sys/sys/cdefs.h | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (23 lines):
diff -r 5538d253e5dc -r 14cfe25a2ceb sys/sys/cdefs.h
--- a/sys/sys/cdefs.h Fri Aug 24 01:36:14 2012 +0000
+++ b/sys/sys/cdefs.h Fri Aug 24 05:47:51 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cdefs.h,v 1.99 2012/06/02 21:27:51 dsl Exp $ */
+/* $NetBSD: cdefs.h,v 1.100 2012/08/24 05:47:51 dholland Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -374,12 +374,10 @@
#if !defined(_STANDALONE) && !defined(_KERNEL)
#if defined(__GNUC__) || defined(__PCC__)
#define __RENAME(x) ___RENAME(x)
-#else
-#ifdef __lint__
+#elif defined(__lint__)
#define __RENAME(x) __symbolrename(x)
#else
#error "No function renaming possible"
-#endif /* __lint__ */
#endif /* __GNUC__ */
#else /* _STANDALONE || _KERNEL */
#define __RENAME(x) no renaming in kernel or standalone environment
Home |
Main Index |
Thread Index |
Old Index