From a05c579f1c3695c4ddead0a5cfc2c92422bd4f8f Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Sat, 3 May 2014 13:25:41 -0700 Subject: meta: print in json for stack/frames, cmdline and version - Follow formatting rules based on RFC4627 - http://www.ietf.org/rfc/rfc4627.txt - Add checks for json in regression test meta.t Change-Id: I480d32ce042b202d3ed8939623c629a03b458551 BUG: 1089216 Signed-off-by: Harshavardhana Reviewed-on: http://review.gluster.org/7653 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- libglusterfs/src/strfd.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libglusterfs/src/strfd.h') diff --git a/libglusterfs/src/strfd.h b/libglusterfs/src/strfd.h index a9e6eaa87bc..9084e235eef 100644 --- a/libglusterfs/src/strfd.h +++ b/libglusterfs/src/strfd.h @@ -12,16 +12,16 @@ #define _STRFD_H typedef struct { - void *data; - size_t alloc_size; - size_t size; - off_t pos; + void *data; + size_t alloc_size; + size_t size; + off_t pos; } strfd_t; strfd_t *strfd_open(); int strprintf(strfd_t *strfd, const char *fmt, ...) - __attribute__ ((__format__ (__printf__, 2, 3))); + __attribute__ ((__format__ (__printf__, 2, 3))); int strvprintf(strfd_t *strfd, const char *fmt, va_list ap); -- cgit