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 --- docs/examples/multi-event.c | 4 ++-- docs/examples/multi-uv.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/examples/multi-event.c b/docs/examples/multi-event.c index 482de8e7f..34bb0d645 100644 --- a/docs/examples/multi-event.c +++ b/docs/examples/multi-event.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 @@ -41,7 +41,7 @@ typedef struct curl_context_s { static void curl_perform(int fd, short event, void *arg); -static curl_context_t* create_curl_context(curl_socket_t sockfd) +static curl_context_t *create_curl_context(curl_socket_t sockfd) { curl_context_t *context; diff --git a/docs/examples/multi-uv.c b/docs/examples/multi-uv.c index 8ca4b9096..1b4a75252 100644 --- a/docs/examples/multi-uv.c +++ b/docs/examples/multi-uv.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 @@ -46,7 +46,7 @@ typedef struct curl_context_s { curl_socket_t sockfd; } curl_context_t; -static curl_context_t* create_curl_context(curl_socket_t sockfd) +static curl_context_t *create_curl_context(curl_socket_t sockfd) { curl_context_t *context; -- cgit v1.2.3