-/* $NetBSD: cdefs.h,v 1.3 1995/05/03 06:04:54 mellon Exp $ */
+/* $NetBSD: cdefs.h,v 1.4 1995/12/15 01:17:04 jonathan Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
#define _C_LABEL(x) _STRING(x)
#define __indr_references(sym,msg) /* nothing */
+
+#if defined __GNUC__ && defined __STDC__
+#define __warn_references(sym, msg) \
+ static const char __evoke_link_warning_##sym[] \
+ __attribute__ ((section (".gnu.warning." #sym))) = msg;
+#else
#define __warn_references(sym,msg) /* nothing */
+#endif
#endif /* !_MACHINE_CDEFS_H_ */