bird2: bump to version 2.15.1
[feed/routing.git] / prince / patches / 010-gcc10.patch
1 --- a/prince/include/common.h
2 +++ b/prince/include/common.h
3 @@ -35,12 +35,12 @@ typedef struct routing_plugin_ {
4
5 } routing_plugin;
6
7 -routing_plugin *(*new_plugin_p)(char *host, int port, int json_type,
8 +static routing_plugin *(*new_plugin_p)(char *host, int port, int json_type,
9 int timer_port);
10
11 -int (*get_initial_timers_p)(routing_plugin *o, struct timers *t);
12 -int (*get_topology_p)(routing_plugin *o);
13 -int (*push_timers_p)(routing_plugin *o, struct timers t);
14 -void (*delete_plugin_p)(routing_plugin *o);
15 +static int (*get_initial_timers_p)(routing_plugin *o, struct timers *t);
16 +static int (*get_topology_p)(routing_plugin *o);
17 +static int (*push_timers_p)(routing_plugin *o, struct timers t);
18 +static void (*delete_plugin_p)(routing_plugin *o);
19
20 #endif /* SRC_COMMON_H_ */