diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-11-23 08:49:04 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-11-24 23:58:22 +0100 |
commit | 6832c1d4b2a9eb97a36bb6565c84a8eef451a39c (patch) | |
tree | dad19839fa62edb783545b6387ec3fba151dd813 /tests/unit/unit1604.c | |
parent | 80e7cfeb87c18a7552933ff43a96bd1b709eec22 (diff) | |
download | curl-6832c1d4b2a9eb97a36bb6565c84a8eef451a39c.tar.gz |
checksrc: move open braces to comply with function declaration style
Diffstat (limited to 'tests/unit/unit1604.c')
-rw-r--r-- | tests/unit/unit1604.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/unit/unit1604.c b/tests/unit/unit1604.c index 242be0005..5f1ea9518 100644 --- a/tests/unit/unit1604.c +++ b/tests/unit/unit1604.c @@ -42,7 +42,8 @@ static void unit_stop(void) #if defined(MSDOS) || defined(WIN32) -static char *getflagstr(int flags) { +static char *getflagstr(int flags) +{ char *buf = malloc(256); fail_unless(buf, "out of memory"); snprintf(buf, 256, "%s,%s,%s,%s", @@ -53,7 +54,8 @@ static char *getflagstr(int flags) { return buf; } -static char *getcurlcodestr(int cc) { +static char *getcurlcodestr(int cc) +{ char *buf = malloc(256); fail_unless(buf, "out of memory"); snprintf(buf, 256, "%s (%d)", |