Browse Source

Rename debug -> json_c_debug

This done for the same reasons as we do not ship config.h.
pull/585/head
Björn Esser 5 years ago
parent
commit
42a7d02ef5
9 changed files with 11 additions and 11 deletions
  1. +2
    -2
      CMakeLists.txt
  2. +1
    -1
      json.h
  3. +2
    -2
      json_c_debug.c
  4. +1
    -1
      json_c_debug.h
  5. +1
    -1
      json_object.c
  6. +1
    -1
      json_tokener.c
  7. +1
    -1
      json_util.c
  8. +1
    -1
      printbuf.c
  9. +1
    -1
      tests/test_printbuf.c

+ 2
- 2
CMakeLists.txt View File

@@ -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


+ 1
- 1
json.h View File

@@ -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"


debug.c → json_c_debug.c View File

@@ -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 <michael@metaparadigm.com>
@@ -28,7 +28,7 @@
#include <sys/param.h>
#endif /* HAVE_SYS_PARAM_H */

#include "debug.h"
#include "json_c_debug.h"

static int _syslog = 0;
static int _debug = 0;

debug.h → json_c_debug.h View File

@@ -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 <michael@metaparadigm.com>

+ 1
- 1
json_object.c View File

@@ -23,7 +23,7 @@
#include <string.h>

#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"


+ 1
- 1
json_tokener.c View File

@@ -26,7 +26,7 @@
#include <string.h>

#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"


+ 1
- 1
json_util.c View File

@@ -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"


+ 1
- 1
printbuf.c View File

@@ -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"


+ 1
- 1
tests/test_printbuf.c View File

@@ -5,7 +5,7 @@
#include <stdlib.h>
#include <string.h>

#include "debug.h"
#include "json_c_debug.h"
#include "printbuf.h"

static void test_basic_printbuf_memset(void);


Loading…
Cancel
Save