ccan: update to latest.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2015-09-30 10:54:55 +09:30
parent 242fa1b2dd
commit c895d4a135
12 changed files with 81 additions and 35 deletions

View File

@@ -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>

View File

@@ -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);