Provide empty __warn_references() when we are not running GCC
authortholo <tholo@openbsd.org>
Sun, 24 Mar 1996 16:51:43 +0000 (16:51 +0000)
committertholo <tholo@openbsd.org>
Sun, 24 Mar 1996 16:51:43 +0000 (16:51 +0000)
sys/arch/i386/include/cdefs.h
sys/arch/m68k/include/cdefs.h
sys/arch/mvme88k/include/cdefs.h
sys/arch/pc532/include/cdefs.h
sys/arch/sparc/include/cdefs.h
sys/arch/vax/include/cdefs.h

index 77766f8..afdcf03 100644 (file)
@@ -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_ */
index d5ea5cd..6dc534c 100644 (file)
@@ -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_ */
index 36f4990..286edf3 100644 (file)
@@ -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_ */
index eb5deb6..06dcfa3 100644 (file)
@@ -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_ */
index 36f4990..286edf3 100644 (file)
@@ -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_ */
index 0468cc9..1c35009 100644 (file)
@@ -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_ */