From 66b077576313eda129bce9f58fdc894d857cb121 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 13 May 2020 12:56:53 +0200 Subject: checksrc: enhance the ASTERISKSPACE and update code accordingly Fine: "struct hello *world" Not fine: "struct hello* world" (and variations) Closes #5386 --- tests/unit/unit1309.c | 4 ++-- tests/unit/unit1608.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/unit') diff --git a/tests/unit/unit1309.c b/tests/unit/unit1309.c index 9d885389d..880530313 100644 --- a/tests/unit/unit1309.c +++ b/tests/unit/unit1309.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2018, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2020, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -35,7 +35,7 @@ static void unit_stop(void) } -static void splayprint(struct Curl_tree * t, int d, char output) +static void splayprint(struct Curl_tree *t, int d, char output) { struct Curl_tree *node; int i; diff --git a/tests/unit/unit1608.c b/tests/unit/unit1608.c index 38d5cb278..9105e2847 100644 --- a/tests/unit/unit1608.c +++ b/tests/unit/unit1608.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2019, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2020, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -48,7 +48,7 @@ UNITTEST_START { int i; CURLcode code; - struct Curl_addrinfo* addrhead = addrs; + struct Curl_addrinfo *addrhead = addrs; struct Curl_easy *easy = curl_easy_init(); abort_unless(easy, "out of memory"); -- cgit v1.2.3