make style

This commit is contained in:
Philippe Teuwen 2019-03-10 00:00:59 +01:00
commit 0373696662
483 changed files with 56514 additions and 52451 deletions

View file

@ -22,7 +22,7 @@ static json_free_t do_free = free;
void *jsonp_malloc(size_t size)
{
if(!size)
if (!size)
return NULL;
return (*do_malloc)(size);
@ -30,7 +30,7 @@ void *jsonp_malloc(size_t size)
void jsonp_free(void *ptr)
{
if(!ptr)
if (!ptr)
return;
(*do_free)(ptr);
@ -46,7 +46,7 @@ char *jsonp_strndup(const char *str, size_t len)
char *new_str;
new_str = jsonp_malloc(len + 1);
if(!new_str)
if (!new_str)
return NULL;
memcpy(new_str, str, len);