From 7b4359b47dd77a24782bf53d5afeafa57baf9501 Mon Sep 17 00:00:00 2001 From: Benno Rice Date: Tue, 28 Jan 2003 10:54:31 +0000 Subject: [PATCH] Put the right fix in. Instead of deleting the declaration of __FBSDID, we undef it before this definition. --- sys/powerpc/include/asm.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/powerpc/include/asm.h b/sys/powerpc/include/asm.h index 393cc25bd117..96fc147353fd 100644 --- a/sys/powerpc/include/asm.h +++ b/sys/powerpc/include/asm.h @@ -77,6 +77,13 @@ #define RCSID(x) .text; .asciz x +#undef __FBSDID +#if !defined(lint) && !defined(STRIP_FBSDID) +#define __FBSDID(s) .ident s +#else +#define __FBSDID(s) /* nothing */ +#endif /* not lint and not STRIP_FBSDID */ + #define WEAK_ALIAS(alias,sym) \ .weak alias; \ alias = sym