1 2 /* dummy source file for compatibility purposes */ 3 4 #if defined(HAVE_CDEFS_H) 5 #include <sys/cdefs.h> 6 #endif 7 8 #ifndef __warn_references 9 10 #if defined(__GNUC__) && defined (HAS_GNU_WARNING_LONG) 11 12 #define __warn_references(sym,msg) \ 13 __asm__(".section .gnu" #sym ",\n\t.ascii \"" msg "\"\n\t.text"); 14 15 #else 16 #define __warn_references(sym,msg) /* nothing */ 17 #endif 18 19 #endif 20 21 #include "json_object.h" 22 23 __warn_references(json_object_get, "Warning: please link against libjson-c instead of libjson"); 24 25 /* __asm__(".section .gnu.warning." __STRING(sym) \ 26 " ; .ascii \"" msg "\" ; .text") */ 27