| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 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_ */ |