diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-03-24 16:51:51 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-03-24 16:51:51 +0000 |
commit | 9b96dfaa80ad0fb9968937addb7ab614508aeebc (patch) | |
tree | c833c7345ce35a5b228c01909b3d7dcbf6cb698e | |
parent | 32eddfa67c7dd725aec04cc55c4cdc0c51d71279 (diff) |
Provide empty __warn_references() when we are not running GCC
-rw-r--r-- | sys/arch/i386/include/cdefs.h | 2 | ||||
-rw-r--r-- | sys/arch/m68k/include/cdefs.h | 2 | ||||
-rw-r--r-- | sys/arch/mvme88k/include/cdefs.h | 2 | ||||
-rw-r--r-- | sys/arch/pc532/include/cdefs.h | 2 | ||||
-rw-r--r-- | sys/arch/sparc/include/cdefs.h | 2 | ||||
-rw-r--r-- | sys/arch/vax/include/cdefs.h | 2 |
6 files changed, 12 insertions, 0 deletions
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_ */ |