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/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zebra/Makefile.am') diff --git a/zebra/Makefile.am b/zebra/Makefile.am index 7dc495e9..751f606f 100644 --- a/zebra/Makefile.am +++ b/zebra/Makefile.am @@ -28,7 +28,7 @@ zebra_SOURCES = \ noinst_HEADERS = \ connected.h ioctl.h rib.h rt.h zserv.h redistribute.h debug.h rtadv.h \ - interface.h ipforward.h irdp.h router-id.h + interface.h ipforward.h irdp.h router-id.h kernel_socket.h zebra_LDADD = $(otherobj) $(LIBCAP) $(LIB_IPV6) ../lib/libzebra.la -- cgit v1.2.1