X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Ftest-reconnect.c;h=35d5f4175e88a322c599a480bed0393b953e9ffc;hb=c5cf10598f8c9f4428291e9df3ecd72a05fb1ccf;hp=286405187b6690389834a11bbf1b0ca8fb745ed4;hpb=d2586fce485240801bdfdd73ad4679b9c88bc659;p=sliver-openvswitch.git diff --git a/tests/test-reconnect.c b/tests/test-reconnect.c index 286405187..35d5f4175 100644 --- a/tests/test-reconnect.c +++ b/tests/test-reconnect.c @@ -36,7 +36,7 @@ static int now; static void diff_stats(const struct reconnect_stats *old, const struct reconnect_stats *new, int delta); -static struct command *get_all_commands(void); +static const struct command *get_all_commands(void); static void test_reconnect_main(int argc OVS_UNUSED, char *argv[] OVS_UNUSED) @@ -289,7 +289,7 @@ static const struct command all_commands[] = { { NULL, 0, 0, NULL }, }; -static struct command * +static const struct command * get_all_commands(void) { return all_commands;