]> git.ozlabs.org Git - petitboot/blob - lib/pb-config/storage-null.c
ui/ncurses: Move general nc init code to cui module
[petitboot] / lib / pb-config / storage-null.c
1
2 #include <stdlib.h>
3
4 #include "storage.h"
5
6 static int load(struct config_storage *st __attribute__((unused)),
7                 struct config *config __attribute__((unused)))
8 {
9         return 0;
10 }
11
12 static struct config_storage st = {
13         .load  = load,
14 };
15
16 struct config_storage *create_null_storage(void *ctx __attribute__((unused)))
17 {
18         return &st;
19 }