From ec1a428343cad343969d569c56acbe6b02ab8f4f Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 24 Nov 2005 15:15:17 +0000 Subject: [zebra] Fix mistake in previous commit and further compile warnings/errors. 2005-11-24 Paul Jakma * kernel_socket.h: New header for functions exported to sysctl methods. * kernel_socket.c: include previous. Remove static qualifier from couple of functions which are used by sysctl methods, incorrectly added in previous commit. Add a workaround for a bogus gcc warning to the RTA_ macros. * Makefile.am: Add kernel_socket.h to noinst_HEADERS * if_sysctl.c: include rt.h and kernel_socket.h and remove redundant prototypes. * rtread_sysctl.c: ditto. (route_read) fix mismatch of return values. * {rt,zserv,rib}.h: Include lib headers depended on. --- zebra/zserv.h | 1 + 1 file changed, 1 insertion(+) (limited to 'zebra/zserv.h') diff --git a/zebra/zserv.h b/zebra/zserv.h index f7d3f8c0..9a570fb3 100644 --- a/zebra/zserv.h +++ b/zebra/zserv.h @@ -23,6 +23,7 @@ #define _ZEBRA_ZSERV_H #include "rib.h" +#include "if.h" #include "workqueue.h" /* Default port information. */ -- cgit v1.2.1