Skip to content

Commit 9ca50cf

Browse files
committed
Issue json-c#709: adjust some include guards to be a bit more json-c specific.
1 parent 0b7e78c commit 9ca50cf

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

arraylist.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* Although this is exposed by the json_object_get_array() method,
1616
* it is not recommended for direct use.
1717
*/
18-
#ifndef _arraylist_h_
19-
#define _arraylist_h_
18+
#ifndef _json_c_arraylist_h_
19+
#define _json_c_arraylist_h_
2020

2121
#ifdef __cplusplus
2222
extern "C" {

debug.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* @file
1515
* @brief Do not use, json-c internal, may be changed or removed at any time.
1616
*/
17-
#ifndef _DEBUG_H_
18-
#define _DEBUG_H_
17+
#ifndef _JSON_C_DEBUG_H_
18+
#define _JSON_C_DEBUG_H_
1919

2020
#include <stdlib.h>
2121

linkhash.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* this is exposed by the json_object_get_object() function and within the
1717
* json_object_iter type, it is not recommended for direct use.
1818
*/
19-
#ifndef _linkhash_h_
20-
#define _linkhash_h_
19+
#ifndef _json_c_linkhash_h_
20+
#define _json_c_linkhash_h_
2121

2222
#include "json_object.h"
2323

printbuf.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
* json_object_set_serializer() direct use of this is not
2121
* recommended.
2222
*/
23-
#ifndef _printbuf_h_
24-
#define _printbuf_h_
23+
#ifndef _json_c_printbuf_h_
24+
#define _json_c_printbuf_h_
2525

2626
#ifndef JSON_EXPORT
2727
#if defined(_MSC_VER) && defined(JSON_C_DLL)

0 commit comments

Comments
 (0)