From: tholo Date: Sun, 24 Mar 1996 16:51:43 +0000 (+0000) Subject: Provide empty __warn_references() when we are not running GCC X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a262301d45fae09c3f880070d7ad656dc7c22ba0;p=openbsd Provide empty __warn_references() when we are not running GCC --- diff --git a/sys/arch/i386/include/cdefs.h b/sys/arch/i386/include/cdefs.h index 77766f84ac2..afdcf037471 100644 --- a/sys/arch/i386/include/cdefs.h +++ b/sys/arch/i386/include/cdefs.h @@ -30,6 +30,8 @@ __asm__(".stabs msg,30,0,0,0"); \ __asm__(".stabs \"_/**/sym\",1,0,0,0") #endif +#else +#define __warn_references(sym,msg) /* nothing */ #endif #endif /* !_MACHINE_CDEFS_H_ */ diff --git a/sys/arch/m68k/include/cdefs.h b/sys/arch/m68k/include/cdefs.h index d5ea5cdbc21..6dc534c066e 100644 --- a/sys/arch/m68k/include/cdefs.h +++ b/sys/arch/m68k/include/cdefs.h @@ -30,6 +30,8 @@ __asm__(".stabs msg,30,0,0,0"); \ __asm__(".stabs \"_/**/sym\",1,0,0,0") #endif +#else +#define __warn_references(sym,msg) /* nothing */ #endif #endif /* !_M68K_CDEFS_H_ */ diff --git a/sys/arch/mvme88k/include/cdefs.h b/sys/arch/mvme88k/include/cdefs.h index 36f4990a9cc..286edf32784 100644 --- a/sys/arch/mvme88k/include/cdefs.h +++ b/sys/arch/mvme88k/include/cdefs.h @@ -30,6 +30,8 @@ __asm__(".stabs msg,30,0,0,0"); \ __asm__(".stabs \"_/**/sym\",1,0,0,0") #endif +#else +#define __warn_references(sym,msg) /* nothing */ #endif #endif /* !_MACHINE_CDEFS_H_ */ diff --git a/sys/arch/pc532/include/cdefs.h b/sys/arch/pc532/include/cdefs.h index eb5deb6adbd..06dcfa332d2 100644 --- a/sys/arch/pc532/include/cdefs.h +++ b/sys/arch/pc532/include/cdefs.h @@ -30,6 +30,8 @@ __asm__(".stabs msg,30,0,0,0"); \ __asm__(".stabs \"_/**/sym\",1,0,0,0") #endif +#else +#define __warn_references(sym,msg) /* nothing */ #endif #endif /* !_MACHINE_CDEFS_H_ */ diff --git a/sys/arch/sparc/include/cdefs.h b/sys/arch/sparc/include/cdefs.h index 36f4990a9cc..286edf32784 100644 --- a/sys/arch/sparc/include/cdefs.h +++ b/sys/arch/sparc/include/cdefs.h @@ -30,6 +30,8 @@ __asm__(".stabs msg,30,0,0,0"); \ __asm__(".stabs \"_/**/sym\",1,0,0,0") #endif +#else +#define __warn_references(sym,msg) /* nothing */ #endif #endif /* !_MACHINE_CDEFS_H_ */ diff --git a/sys/arch/vax/include/cdefs.h b/sys/arch/vax/include/cdefs.h index 0468cc9e196..1c350092c48 100644 --- a/sys/arch/vax/include/cdefs.h +++ b/sys/arch/vax/include/cdefs.h @@ -30,6 +30,8 @@ __asm__(".stabs msg,30,0,0,0"); \ __asm__(".stabs \"_/**/sym\",1,0,0,0") #endif +#else +#define __warn_references(sym,msg) /* nothing */ #endif #endif /* !_MACHINE_CDEFS_H_ */