diff options
author | Indent <please@skip.me> | 2015-02-19 02:47:20 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-02-20 19:50:54 -0300 |
commit | 5ebff60479fc7a9f7f50ac03b124c91d4e6ebe11 (patch) | |
tree | 9fc0d50cb1f4bc9768d9f00de94eafd876bb55b0 /lib/json_util.h | |
parent | af359b4316f9d392c6b752495a1b2ed631576ed8 (diff) |
Reindent everything to K&R style with tabs
Used uncrustify, with the configuration file in ./doc/uncrustify.cfg
Commit author set to "Indent <please@skip.me>" so that it's easier to
skip while doing git blame.
Diffstat (limited to 'lib/json_util.h')
-rw-r--r-- | lib/json_util.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/json_util.h b/lib/json_util.h index 7eb49515..363efc89 100644 --- a/lib/json_util.h +++ b/lib/json_util.h @@ -25,11 +25,11 @@ #define JSON_O_FOREACH(o, k, v) \ char *k; json_value *v; int __i; \ - for( __i = 0; ( __i < (o)->u.object.length ) && \ - ( k = (o)->u.object.values[__i].name ) && \ - ( v = (o)->u.object.values[__i].value ); \ - __i ++ ) + for (__i = 0; (__i < (o)->u.object.length) && \ + (k = (o)->u.object.values[__i].name) && \ + (v = (o)->u.object.values[__i].value); \ + __i ++) -json_value *json_o_get( const json_value *obj, const json_char *name ); -const char *json_o_str( const json_value *obj, const json_char *name ); -char *json_o_strdup( const json_value *obj, const json_char *name ); +json_value *json_o_get(const json_value *obj, const json_char *name); +const char *json_o_str(const json_value *obj, const json_char *name); +char *json_o_strdup(const json_value *obj, const json_char *name); |