diff --git a/CMakeLists.txt b/CMakeLists.txt index 62b4ba5..2b61fa3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -303,7 +303,7 @@ set(JSON_C_PUBLIC_HEADERS ${PROJECT_SOURCE_DIR}/json.h ${PROJECT_SOURCE_DIR}/json_c_arraylist.h - ${PROJECT_SOURCE_DIR}/debug.h + ${PROJECT_SOURCE_DIR}/json_c_debug.h ${PROJECT_SOURCE_DIR}/json_c_version.h ${PROJECT_SOURCE_DIR}/json_inttypes.h ${PROJECT_SOURCE_DIR}/json_object.h @@ -332,7 +332,7 @@ set(JSON_C_HEADERS set(JSON_C_SOURCES ${PROJECT_SOURCE_DIR}/json_c_arraylist.c - ${PROJECT_SOURCE_DIR}/debug.c + ${PROJECT_SOURCE_DIR}/json_c_debug.c ${PROJECT_SOURCE_DIR}/json_c_version.c ${PROJECT_SOURCE_DIR}/json_object.c ${PROJECT_SOURCE_DIR}/json_object_iterator.c diff --git a/json.h b/json.h index 99d574e..104daee 100644 --- a/json.h +++ b/json.h @@ -22,7 +22,7 @@ extern "C" { #endif #include "json_c_arraylist.h" -#include "debug.h" +#include "json_c_debug.h" #include "json_c_version.h" #include "json_object.h" #include "json_object_iterator.h" diff --git a/debug.c b/json_c_debug.c similarity index 93% rename from debug.c rename to json_c_debug.c index 7971744..73b8c94 100644 --- a/debug.c +++ b/json_c_debug.c @@ -1,5 +1,5 @@ /* - * $Id: debug.c,v 1.5 2006/01/26 02:16:28 mclark Exp $ + * $Id: json_c_debug.c,v 1.5 2006/01/26 02:16:28 mclark Exp $ * * Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd. * Michael Clark @@ -28,7 +28,7 @@ #include #endif /* HAVE_SYS_PARAM_H */ -#include "debug.h" +#include "json_c_debug.h" static int _syslog = 0; static int _debug = 0; diff --git a/debug.h b/json_c_debug.h similarity index 97% rename from debug.h rename to json_c_debug.h index a24136b..6d9fd2a 100644 --- a/debug.h +++ b/json_c_debug.h @@ -1,5 +1,5 @@ /* - * $Id: debug.h,v 1.5 2006/01/30 23:07:57 mclark Exp $ + * $Id: json_c_debug.h,v 1.5 2006/01/30 23:07:57 mclark Exp $ * * Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd. * Michael Clark diff --git a/json_object.c b/json_object.c index 36bee71..041f846 100644 --- a/json_object.c +++ b/json_object.c @@ -23,7 +23,7 @@ #include #include "json_c_arraylist.h" -#include "debug.h" +#include "json_c_debug.h" #include "json_inttypes.h" #include "json_object.h" #include "json_object_private.h" diff --git a/json_tokener.c b/json_tokener.c index 61ba98d..7c3a58e 100644 --- a/json_tokener.c +++ b/json_tokener.c @@ -26,7 +26,7 @@ #include #include "json_c_arraylist.h" -#include "debug.h" +#include "json_c_debug.h" #include "json_inttypes.h" #include "json_object.h" #include "json_object_private.h" diff --git a/json_util.c b/json_util.c index d3ee47d..374b695 100644 --- a/json_util.c +++ b/json_util.c @@ -50,7 +50,7 @@ #include "snprintf_compat.h" -#include "debug.h" +#include "json_c_debug.h" #include "json_inttypes.h" #include "json_object.h" #include "json_tokener.h" diff --git a/printbuf.c b/printbuf.c index 976c12d..fe68b38 100644 --- a/printbuf.c +++ b/printbuf.c @@ -25,7 +25,7 @@ #error Not enough var arg support! #endif /* HAVE_STDARG_H */ -#include "debug.h" +#include "json_c_debug.h" #include "printbuf.h" #include "snprintf_compat.h" #include "vasprintf_compat.h" diff --git a/tests/test_printbuf.c b/tests/test_printbuf.c index d0fb918..73c5b3b 100644 --- a/tests/test_printbuf.c +++ b/tests/test_printbuf.c @@ -5,7 +5,7 @@ #include #include -#include "debug.h" +#include "json_c_debug.h" #include "printbuf.h" static void test_basic_printbuf_memset(void);