/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data
+ * Copyright (C) 1995-2011 Index Data
* See the file LICENSE for details.
*/
-
/**
* \file json.c
* \brief JSON encoding/decoding
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/json.h>
void wrbuf_json_puts(WRBUF b, const char *str)
{
- return wrbuf_json_write(b, str, strlen(str));
+ wrbuf_json_write(b, str, strlen(str));
}
void json_write_wrbuf(struct json_node *node, WRBUF result)