MACSio  0.9
Multi-purpose, Application-Centric, Scalable I/O Proxy App
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
libjson.c
Go to the documentation of this file.
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") */
#define __warn_references(sym, msg)
Definition: libjson.c:16
struct json_object * json_object_get(struct json_object *obj)
Definition: json_object.c:147