summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/include/cdefs.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-11-24 20:46:50 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-11-24 20:46:50 +0000
commit0bd81c002fb213b540eb7ec7e06421b7a32dacee (patch)
tree9daa65bef23768b6d027cc7566aaeab8909dce12 /sys/arch/sgi/include/cdefs.h
parenta44bf7617d9b5f641c1a92ddbb461af565b9f9b9 (diff)
add lint-specific hacks. at the same time, clean out a lot of ancient
cruft for old compilers and environments. there may be a 2nd round of polishing after this; ok miod and others
Diffstat (limited to 'sys/arch/sgi/include/cdefs.h')
-rw-r--r--sys/arch/sgi/include/cdefs.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/sgi/include/cdefs.h b/sys/arch/sgi/include/cdefs.h
index 476278fafec..482bc55fea0 100644
--- a/sys/arch/sgi/include/cdefs.h
+++ b/sys/arch/sgi/include/cdefs.h
@@ -1,5 +1,10 @@
-/* $OpenBSD: cdefs.h,v 1.1 2004/08/06 21:12:18 pefo Exp $ */
+/* $OpenBSD: cdefs.h,v 1.2 2005/11/24 20:46:48 deraadt Exp $ */
/* Use Mips generic include file */
#include <mips64/cdefs.h>
+
+#if defined(lint) && !defined(__MIPSEB__)
+#define __MIPSEB__
+#undef __MIPSEL__
+#endif