aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-11-24 19:13:00 +0100
committerChristian Grothoff <christian@grothoff.org>2019-11-24 19:13:00 +0100
commitd17a17ea785f91c18b5694eab3372c4e4564d95e (patch)
treea7ee983fb1c0fa5a9210938024357cd9498ee344 /src/include
parent5f38569fce2e77afeed58cbd3429c67bf8ab9109 (diff)
downloadgnunet-d17a17ea785f91c18b5694eab3372c4e4564d95e.tar.gz
gnunet-d17a17ea785f91c18b5694eab3372c4e4564d95e.zip
fix pointer indentation
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gauger.h12
-rw-r--r--src/include/gnunet_bio_lib.h4
-rw-r--r--src/include/gnunet_common.h2
-rw-r--r--src/include/gnunet_mq_lib.h6
-rw-r--r--src/include/platform.h4
5 files changed, 14 insertions, 14 deletions
diff --git a/src/include/gauger.h b/src/include/gauger.h
index ac86ee586..716ce9cb1 100644
--- a/src/include/gauger.h
+++ b/src/include/gauger.h
@@ -27,14 +27,14 @@
27 sprintf (__gauger_s, "%Lf", (long double) (value)); \ 27 sprintf (__gauger_s, "%Lf", (long double) (value)); \
28 __gauger_v[0] = "gauger"; \ 28 __gauger_v[0] = "gauger"; \
29 __gauger_v[1] = "-n"; \ 29 __gauger_v[1] = "-n"; \
30 __gauger_v[2] = (char*) (counter); \ 30 __gauger_v[2] = (char *) (counter); \
31 __gauger_v[3] = "-d"; \ 31 __gauger_v[3] = "-d"; \
32 __gauger_v[4] = __gauger_s; \ 32 __gauger_v[4] = __gauger_s; \
33 __gauger_v[5] = "-u"; \ 33 __gauger_v[5] = "-u"; \
34 __gauger_v[6] = (char*) (unit); \ 34 __gauger_v[6] = (char *) (unit); \
35 __gauger_v[7] = "-c"; \ 35 __gauger_v[7] = "-c"; \
36 __gauger_v[8] = (char*) (category); \ 36 __gauger_v[8] = (char *) (category); \
37 __gauger_v[9] = (char*) NULL; \ 37 __gauger_v[9] = (char *) NULL; \
38 execvp ("gauger", __gauger_v); \ 38 execvp ("gauger", __gauger_v); \
39 _exit (1); \ 39 _exit (1); \
40 }else{ \ 40 }else{ \
@@ -57,11 +57,11 @@
57 sprintf (__gauger_s, "%Lf", (long double) (value)); \ 57 sprintf (__gauger_s, "%Lf", (long double) (value)); \
58 __gauger_v[0] = "gauger"; \ 58 __gauger_v[0] = "gauger"; \
59 __gauger_v[1] = "-n"; \ 59 __gauger_v[1] = "-n"; \
60 __gauger_v[2] = (char*) (counter); \ 60 __gauger_v[2] = (char *) (counter); \
61 __gauger_v[3] = "-d"; \ 61 __gauger_v[3] = "-d"; \
62 __gauger_v[4] = __gauger_s; \ 62 __gauger_v[4] = __gauger_s; \
63 __gauger_v[5] = "-u"; \ 63 __gauger_v[5] = "-u"; \
64 __gauger_v[6] = (char*) (unit); \ 64 __gauger_v[6] = (char *) (unit); \
65 __gauger_v[7] = "-i"; \ 65 __gauger_v[7] = "-i"; \
66 __gauger_v[8] = id; \ 66 __gauger_v[8] = id; \
67 __gauger_v[9] = "-c"; \ 67 __gauger_v[9] = "-c"; \
diff --git a/src/include/gnunet_bio_lib.h b/src/include/gnunet_bio_lib.h
index 34dd46dd5..2f715ec97 100644
--- a/src/include/gnunet_bio_lib.h
+++ b/src/include/gnunet_bio_lib.h
@@ -169,7 +169,7 @@ GNUNET_BIO_read_int32__ (struct GNUNET_BIO_ReadHandle *h, const char *file,
169 */ 169 */
170#define GNUNET_BIO_read_int32(h, i) GNUNET_BIO_read_int32__ (h, __FILE__, \ 170#define GNUNET_BIO_read_int32(h, i) GNUNET_BIO_read_int32__ (h, __FILE__, \
171 __LINE__, \ 171 __LINE__, \
172 (int32_t*) i) 172 (int32_t *) i)
173 173
174 174
175/** 175/**
@@ -194,7 +194,7 @@ GNUNET_BIO_read_int64__ (struct GNUNET_BIO_ReadHandle *h, const char *file,
194 */ 194 */
195#define GNUNET_BIO_read_int64(h, i) GNUNET_BIO_read_int64__ (h, __FILE__, \ 195#define GNUNET_BIO_read_int64(h, i) GNUNET_BIO_read_int64__ (h, __FILE__, \
196 __LINE__, \ 196 __LINE__, \
197 (int64_t*) i) 197 (int64_t *) i)
198 198
199 199
200/** 200/**
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index 4fdc2d777..f4f68a95f 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -1084,7 +1084,7 @@ GNUNET_ntoh_double (double d);
1084 */ 1084 */
1085#define GNUNET_is_zero(a) \ 1085#define GNUNET_is_zero(a) \
1086 ({ \ 1086 ({ \
1087 static const typeof (*a) _z; \ 1087 static const typeof (*a)_z; \
1088 memcmp ((a), &_z, sizeof(_z)); \ 1088 memcmp ((a), &_z, sizeof(_z)); \
1089 }) 1089 })
1090 1090
diff --git a/src/include/gnunet_mq_lib.h b/src/include/gnunet_mq_lib.h
index 37f21e5b1..520027dbb 100644
--- a/src/include/gnunet_mq_lib.h
+++ b/src/include/gnunet_mq_lib.h
@@ -547,7 +547,7 @@ struct GNUNET_MQ_MessageHandler
547 */ 547 */
548#define GNUNET_MQ_hd_fixed_size(name, code, str, ctx) \ 548#define GNUNET_MQ_hd_fixed_size(name, code, str, ctx) \
549 ({ \ 549 ({ \
550 void (*_cb)(void *cls, const str *msg) = &handle_ ## name; \ 550 void (*_cb)(void *cls, const str * msg) = &handle_ ## name; \
551 ((struct GNUNET_MQ_MessageHandler){ NULL, \ 551 ((struct GNUNET_MQ_MessageHandler){ NULL, \
552 (GNUNET_MQ_MessageCallback) _cb, \ 552 (GNUNET_MQ_MessageCallback) _cb, \
553 (ctx), \ 553 (ctx), \
@@ -598,8 +598,8 @@ struct GNUNET_MQ_MessageHandler
598 */ 598 */
599#define GNUNET_MQ_hd_var_size(name, code, str, ctx) \ 599#define GNUNET_MQ_hd_var_size(name, code, str, ctx) \
600 __extension__ ({ \ 600 __extension__ ({ \
601 int (*_mv)(void *cls, const str *msg) = &check_ ## name; \ 601 int (*_mv)(void *cls, const str * msg) = &check_ ## name; \
602 void (*_cb)(void *cls, const str *msg) = &handle_ ## name; \ 602 void (*_cb)(void *cls, const str * msg) = &handle_ ## name; \
603 ((struct GNUNET_MQ_MessageHandler){ (GNUNET_MQ_MessageValidationCallback) \ 603 ((struct GNUNET_MQ_MessageHandler){ (GNUNET_MQ_MessageValidationCallback) \
604 _mv, \ 604 _mv, \
605 (GNUNET_MQ_MessageCallback) _cb, \ 605 (GNUNET_MQ_MessageCallback) _cb, \
diff --git a/src/include/platform.h b/src/include/platform.h
index 0cf4c9e5e..3b07f47ea 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -229,8 +229,8 @@ atoll (const char *nptr);
229 229
230 230
231#if defined(__sparc__) 231#if defined(__sparc__)
232#define MAKE_UNALIGNED(val) ({ __typeof__((val)) __tmp; memmove (&__tmp, &(val), \ 232#define MAKE_UNALIGNED(val) ({ __typeof__((val))__tmp; memmove (&__tmp, &(val), \
233 sizeof((val))); \ 233 sizeof((val))); \
234 __tmp; }) 234 __tmp; })
235#else 235#else
236#define MAKE_UNALIGNED(val) val 236#define MAKE_UNALIGNED(val) val