Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sh5/include Avoid lint failure in setjmp.h; lint do...



details:   https://anonhg.NetBSD.org/src/rev/f1676682e71e
branches:  trunk
changeset: 566609:f1676682e71e
user:      he <he%NetBSD.org@localhost>
date:      Thu May 13 19:54:25 2004 +0000

description:
Avoid lint failure in setjmp.h; lint doesn't handle __attribute__
modified declarations.

diffstat:

 sys/arch/sh5/include/setjmp.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 7776b2a49a29 -r f1676682e71e sys/arch/sh5/include/setjmp.h
--- a/sys/arch/sh5/include/setjmp.h     Thu May 13 19:37:58 2004 +0000
+++ b/sys/arch/sh5/include/setjmp.h     Thu May 13 19:54:25 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: setjmp.h,v 1.5 2002/09/06 15:35:41 scw Exp $   */
+/*     $NetBSD: setjmp.h,v 1.6 2004/05/13 19:54:25 he Exp $    */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -136,7 +136,11 @@
 #define        _JBLEN          110
 #else
 #define        _JBLEN          220
+#if !defined(__lint__)
 #define        _JB_ATTRIBUTES  __attribute__ ((__aligned__(8)))
+#else
+#define        _JB_ATTRIBUTES  /**/
+#endif
 #endif
 
 #endif /* _SH5_SETJMP_H */



Home | Main Index | Thread Index | Old Index