mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-29 18:54:21 +01:00
ccan: update to latest.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
* macro or constant.
|
||||
*
|
||||
* Example:
|
||||
* // Outputs "Initialized 32 values"
|
||||
* // Outputs "Initialized 32 values\n"
|
||||
* #include <ccan/array_size/array_size.h>
|
||||
* #include <stdlib.h>
|
||||
* #include <stdio.h>
|
||||
|
||||
@@ -5,8 +5,8 @@ struct foo {
|
||||
unsigned int a, b;
|
||||
};
|
||||
|
||||
int check_parameter(const struct foo array[4]);
|
||||
int check_parameter(const struct foo array[4])
|
||||
int check_parameter(const struct foo *array);
|
||||
int check_parameter(const struct foo *array)
|
||||
{
|
||||
#ifdef FAIL
|
||||
return (ARRAY_SIZE(array) == 4);
|
||||
|
||||
Reference in New Issue
Block a user