aboutsummaryrefslogtreecommitdiff
path: root/src/value.c
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2010-09-05 17:13:21 +0300
committerPetri Lehtinen <petri@digip.org>2010-09-05 21:18:46 +0300
commit976fc2279f79d18fcfeb81359782b8eee328b0d4 (patch)
tree830b4d70faaf4c77ae6dd4dace11e1720cfaf368 /src/value.c
parent56643d4311ecb26001527520da6264d92eab3d76 (diff)
downloadjansson-976fc2279f79d18fcfeb81359782b8eee328b0d4.zip
jansson-976fc2279f79d18fcfeb81359782b8eee328b0d4.tar.gz
jansson-976fc2279f79d18fcfeb81359782b8eee328b0d4.tar.bz2
Replace all occurences of inline with JSON_INLINE
This makes it easier to compile without the configure script (e.g. on Windows).
Diffstat (limited to 'src/value.c')
-rw-r--r--src/value.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/value.c b/src/value.c
index 3895882..3576b81 100644
--- a/src/value.c
+++ b/src/value.c
@@ -7,8 +7,6 @@
#define _GNU_SOURCE
-#include <config.h>
-
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
@@ -20,7 +18,7 @@
#include "util.h"
-static inline void json_init(json_t *json, json_type type)
+static JSON_INLINE void json_init(json_t *json, json_type type)
{
json->type = type;
json->refcount = 1;