aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-05-13 12:56:53 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-05-14 00:02:05 +0200
commit66b077576313eda129bce9f58fdc894d857cb121 (patch)
treece4989ca7204ca1fcdcc47dcc50c72d8a8898a6c /docs/examples
parentf3f5d82e2854991cd12ad5dcf022e8abbcea7038 (diff)
checksrc: enhance the ASTERISKSPACE and update code accordingly
Fine: "struct hello *world" Not fine: "struct hello* world" (and variations) Closes #5386
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/multi-event.c4
-rw-r--r--docs/examples/multi-uv.c4
2 files changed, 4 insertions, 4 deletions
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, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, 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, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, 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;