summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-30 12:49:11 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-30 12:49:11 +0200
commit170b9c1fd81b29721a0e4eb43b06b229a4f425ad (patch)
treef91431377da7c67078c328ffe9347a0e4170ffd8
parentb21cab7cb9da43009df76acdb779f7c89a003378 (diff)
stylefix
-rw-r--r--src/include/gnunet_common.h2
-rw-r--r--src/util/test_scheduler.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index 033a68894..34f419a49 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -1210,7 +1210,7 @@ GNUNET_is_zero_ (const void *a,
* @param type name of the struct or union, i.e. pass 'struct Foo'.
*/
#define GNUNET_new_array(n, type) ({ \
- GNUNET_assert (SIZE_MAX / sizeof (type) >= n); \
+ GNUNET_assert (SIZE_MAX / sizeof (type) >= n); \
(type *) GNUNET_malloc ((n) * sizeof(type)); \
})
diff --git a/src/util/test_scheduler.c b/src/util/test_scheduler.c
index 02a70a560..471ca64e5 100644
--- a/src/util/test_scheduler.c
+++ b/src/util/test_scheduler.c
@@ -234,7 +234,7 @@ taskSig (void *cls)
* checks that "ok" is correct at the end.
*/
static int
-checkSignal ()
+checkSignal (void)
{
int ok;