From: Ondrej Filip Date: Tue, 27 Apr 2010 09:27:54 +0000 (+0200) Subject: Avoid warning if not compiled with pipes. X-Git-Tag: v1.2.3~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba130172549ef2313f713e048083432f74e7d03d;p=thirdparty%2Fbird.git Avoid warning if not compiled with pipes. --- diff --git a/nest/proto.c b/nest/proto.c index f55def5e5..46147a4e1 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -807,6 +807,7 @@ proto_do_show_stats(struct proto *p) s->exp_withdraws_received, s->exp_withdraws_accepted); } +#ifdef CONFIG_PIPE static void 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->imp_withdraws_ignored, s1->imp_withdraws_accepted); } +#endif void proto_cmd_show(struct proto *p, unsigned int verbose, int cnt)