From: Emiel Bruijntjes Date: Fri, 27 Nov 2015 15:52:17 +0000 (+0100) Subject: update indentation X-Git-Tag: json-c-0.13-20171207~59^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=827f0fd8ef57b71dce7910325b6ce541bd6d0b50;p=thirdparty%2Fjson-c.git update indentation --- diff --git a/json_object.c b/json_object.c index cad31374..2b9bef7e 100644 --- a/json_object.c +++ b/json_object.c @@ -161,11 +161,13 @@ static int json_escape_str(struct printbuf *pb, const char *str, int len) extern struct json_object* json_object_get(struct json_object *jso) { if (!jso) return jso; + #if defined __GNUC__ __sync_add_and_fetch(&jso->_ref_count, 1); #else ++jso->_ref_count; #endif + return jso; }