summaryrefslogtreecommitdiffstats
path: root/lib/pb-config/storage-null.c
blob: b9fe6edad2fa53e07f9088ebd2dc179d676dc173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

#include <stdlib.h>

#include "storage.h"

static int load(struct config_storage *st __attribute__((unused)),
		struct config *config __attribute__((unused)))
{
	return 0;
}

static struct config_storage st = {
	.load  = load,
};

struct config_storage *create_null_storage(void *ctx __attribute__((unused)))
{
	return &st;
}
OpenPOWER on IntegriCloud