Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Don't define __indr_reference() for lint.
details: https://anonhg.NetBSD.org/src/rev/bf8d09d99bb1
branches: trunk
changeset: 583040:bf8d09d99bb1
user: christos <christos%NetBSD.org@localhost>
date: Sat Jul 16 17:41:05 2005 +0000
description:
Don't define __indr_reference() for lint.
diffstat:
sys/sys/cdefs_aout.h | 4 +++-
sys/sys/cdefs_elf.h | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (38 lines):
diff -r e32186dbe56a -r bf8d09d99bb1 sys/sys/cdefs_aout.h
--- a/sys/sys/cdefs_aout.h Sat Jul 16 17:32:09 2005 +0000
+++ b/sys/sys/cdefs_aout.h Sat Jul 16 17:41:05 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cdefs_aout.h,v 1.15 2004/06/07 18:42:18 drochner Exp $ */
+/* $NetBSD: cdefs_aout.h,v 1.16 2005/07/16 17:41:05 christos Exp $ */
/*
* Written by J.T. Conklin <jtc%wimsey.com@localhost> 01/17/95.
@@ -18,7 +18,9 @@
#define ____RENAME(x) __asm__(___STRING(x))
#endif
+#ifndef __lint__
#define __indr_reference(sym,alias) /* nada, since we do weak refs */
+#endif
#ifdef __GNUC__
#if __STDC__
diff -r e32186dbe56a -r bf8d09d99bb1 sys/sys/cdefs_elf.h
--- a/sys/sys/cdefs_elf.h Sat Jul 16 17:32:09 2005 +0000
+++ b/sys/sys/cdefs_elf.h Sat Jul 16 17:41:05 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cdefs_elf.h,v 1.22 2005/02/26 22:25:34 perry Exp $ */
+/* $NetBSD: cdefs_elf.h,v 1.23 2005/07/16 17:41:05 christos Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -49,7 +49,9 @@
#endif
#endif
+#ifndef __lint__
#define __indr_reference(sym,alias) /* nada, since we do weak refs */
+#endif
#if __STDC__
#define __strong_alias(alias,sym) \
Home |
Main Index |
Thread Index |
Old Index