summaryrefslogtreecommitdiff
path: root/json-c/libjson.c
diff options
context:
space:
mode:
Diffstat (limited to 'json-c/libjson.c')
-rw-r--r--json-c/libjson.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/json-c/libjson.c b/json-c/libjson.c
deleted file mode 100644
index 5284fd0e..00000000
--- a/json-c/libjson.c
+++ /dev/null
@@ -1,26 +0,0 @@
-
-/* dummy source file for compatibility purposes */
-
-#if defined(HAVE_CDEFS_H)
-#include <sys/cdefs.h>
-#endif
-
-#ifndef __warn_references
-
-#if defined(__GNUC__) && defined (HAS_GNU_WARNING_LONG)
-
-#define __warn_references(sym,msg) \
- __asm__(".section .gnu" #sym ",\n\t.ascii \"" msg "\"\n\t.text");
-
-#else
-#define __warn_references(sym,msg) /* nothing */
-#endif
-
-#endif
-
-#include "json_object.h"
-
-__warn_references(json_object_get, "Warning: please link against libjson-c instead of libjson");
-
-/* __asm__(".section .gnu.warning." __STRING(sym) \
- " ; .ascii \"" msg "\" ; .text") */