0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 16:48:43 +00:00

Avoid warning if not compiled with pipes.

This commit is contained in:
Ondrej Filip 2010-04-27 11:27:54 +02:00
parent 6bc414d619
commit ba13017254

View File

@ -807,6 +807,7 @@ proto_do_show_stats(struct proto *p)
s->exp_withdraws_received, s->exp_withdraws_accepted); s->exp_withdraws_received, s->exp_withdraws_accepted);
} }
#ifdef CONFIG_PIPE
static void static void
proto_do_show_pipe_stats(struct proto *p) proto_do_show_pipe_stats(struct proto *p)
{ {
@ -846,6 +847,7 @@ proto_do_show_pipe_stats(struct proto *p)
s1->exp_withdraws_received, s1->imp_withdraws_invalid, s1->exp_withdraws_received, s1->imp_withdraws_invalid,
s1->imp_withdraws_ignored, s1->imp_withdraws_accepted); s1->imp_withdraws_ignored, s1->imp_withdraws_accepted);
} }
#endif
void void
proto_cmd_show(struct proto *p, unsigned int verbose, int cnt) proto_cmd_show(struct proto *p, unsigned int verbose, int cnt)