X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=lib%2Fpb-config%2Fstorage-test.c;h=e4a0e5acce3c041534138ad06326fa9fe909507e;hb=4a2dbb71fdcf234302760d20333420a6e6566d56;hp=3114712b4825cb60625ac3d76640004e531fd2fa;hpb=f53d1e4dc6735b90806ceed54f9d73572b5960f5;p=petitboot diff --git a/lib/pb-config/storage-test.c b/lib/pb-config/storage-test.c index 3114712..e4a0e5a 100644 --- a/lib/pb-config/storage-test.c +++ b/lib/pb-config/storage-test.c @@ -4,6 +4,8 @@ #include #include +#include + #include "pb-config.h" #include "storage.h" @@ -24,8 +26,6 @@ struct interface_config net2 = { struct interface_config *interface_configs[] = { &net1, &net2 }; const char *dns_servers[] = { "192.168.1.1", "192.168.1.2" }; -#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) - struct config test_config = { .autoboot_enabled = true, .network = {