diff options
author | paul <paul> | 2005-11-20 02:15:50 +0000 |
---|---|---|
committer | paul <paul> | 2005-11-20 02:15:50 +0000 |
commit | 77b1cffe3b71c886152534b8507f00c7fcbd12c9 (patch) | |
tree | c5eb056d6254172e741b65586d71e2e6c54fc094 | |
parent | 4859e20c40070ea362627529c52f35de105acc44 (diff) |
[isisd] remove includes of common system headers.
2005-11-20 Paul Jakma <paul.jakma@sun.com>
* (general) remove includes of very common system headers,
these are already picked up by zebra.h. Further, including
them before zebra.h messes up all our lovely (sarcasm)
autoconf'd detecting of platform specific things. Recent
addition of stdint.h to configure.ac and zebra.h appears
particularly to throw up this problem.
-rw-r--r-- | isisd/ChangeLog | 9 | ||||
-rw-r--r-- | isisd/isis_adjacency.c | 3 | ||||
-rw-r--r-- | isisd/isis_circuit.c | 3 | ||||
-rw-r--r-- | isisd/isis_dynhn.c | 1 | ||||
-rw-r--r-- | isisd/isis_events.c | 3 | ||||
-rw-r--r-- | isisd/isis_lsp.c | 2 | ||||
-rw-r--r-- | isisd/isis_main.c | 1 | ||||
-rw-r--r-- | isisd/isis_misc.c | 5 | ||||
-rw-r--r-- | isisd/isis_network.c | 3 | ||||
-rw-r--r-- | isisd/isis_pdu.c | 2 | ||||
-rw-r--r-- | isisd/isis_route.c | 2 | ||||
-rw-r--r-- | isisd/isis_routemap.c | 2 | ||||
-rw-r--r-- | isisd/isis_spf.c | 2 |
13 files changed, 9 insertions, 29 deletions
diff --git a/isisd/ChangeLog b/isisd/ChangeLog index 81b810a8..fa2a13ae 100644 --- a/isisd/ChangeLog +++ b/isisd/ChangeLog @@ -1,3 +1,12 @@ +2005-11-20 Paul Jakma <paul.jakma@sun.com> + + * (general) remove includes of very common system headers, + these are already picked up by zebra.h. Further, including + them before zebra.h messes up all our lovely (sarcasm) + autoconf'd detecting of platform specific things. Recent + addition of stdint.h to configure.ac and zebra.h appears + particularly to throw up this problem. + 2005-10-01 Hasso Tepper <hasso at quagga.net> * isis_adjacency.c: Stop expire timer while deleting adjacency. diff --git a/isisd/isis_adjacency.c b/isisd/isis_adjacency.c index a4078d72..d8c7448e 100644 --- a/isisd/isis_adjacency.c +++ b/isisd/isis_adjacency.c @@ -21,9 +21,6 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <stdio.h> -#include <limits.h> -#include <string.h> #include <zebra.h> #include "log.h" diff --git a/isisd/isis_circuit.c b/isisd/isis_circuit.c index ee73dc44..76145f02 100644 --- a/isisd/isis_circuit.c +++ b/isisd/isis_circuit.c @@ -19,9 +19,6 @@ * with this program; if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <stdlib.h> -#include <stdio.h> -#include <ctype.h> #include <zebra.h> #ifdef GNU_LINUX #include <net/ethernet.h> diff --git a/isisd/isis_dynhn.c b/isisd/isis_dynhn.c index 13acae71..0b758c85 100644 --- a/isisd/isis_dynhn.c +++ b/isisd/isis_dynhn.c @@ -20,7 +20,6 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <time.h> #include <zebra.h> #include "vty.h" diff --git a/isisd/isis_events.c b/isisd/isis_events.c index 8b37e8c5..43800922 100644 --- a/isisd/isis_events.c +++ b/isisd/isis_events.c @@ -19,9 +19,6 @@ * with this program; if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <stdlib.h> -#include <stdio.h> -#include <ctype.h> #include <zebra.h> #include "log.h" diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c index 7b4491c2..63f2b6b9 100644 --- a/isisd/isis_lsp.c +++ b/isisd/isis_lsp.c @@ -21,8 +21,6 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <stdlib.h> -#include <stdio.h> #include <zebra.h> #include "linklist.h" diff --git a/isisd/isis_main.c b/isisd/isis_main.c index bc90847b..6971874d 100644 --- a/isisd/isis_main.c +++ b/isisd/isis_main.c @@ -20,7 +20,6 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <stdio.h> #include <zebra.h> #include "getopt.h" diff --git a/isisd/isis_misc.c b/isisd/isis_misc.c index a56856e0..384ebe0b 100644 --- a/isisd/isis_misc.c +++ b/isisd/isis_misc.c @@ -21,12 +21,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <stdlib.h> -#include <stdio.h> -#include <time.h> -#include <ctype.h> #include <zebra.h> -#include <sys/utsname.h> #include "stream.h" #include "vty.h" diff --git a/isisd/isis_network.c b/isisd/isis_network.c index 466a9177..56459eca 100644 --- a/isisd/isis_network.c +++ b/isisd/isis_network.c @@ -20,9 +20,6 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <sys/types.h> -#include <sys/socket.h> -#include <errno.h> #include <zebra.h> #ifdef GNU_LINUX #include <net/ethernet.h> /* the L2 protocols */ diff --git a/isisd/isis_pdu.c b/isisd/isis_pdu.c index 90a51a21..2dc82156 100644 --- a/isisd/isis_pdu.c +++ b/isisd/isis_pdu.c @@ -21,8 +21,6 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <stdio.h> -#include <string.h> #include <zebra.h> #include "memory.h" diff --git a/isisd/isis_route.c b/isisd/isis_route.c index 7d0239ca..c8f0aaba 100644 --- a/isisd/isis_route.c +++ b/isisd/isis_route.c @@ -22,8 +22,6 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <stdlib.h> -#include <stdio.h> #include <zebra.h> #include "thread.h" diff --git a/isisd/isis_routemap.c b/isisd/isis_routemap.c index db52f328..4235d882 100644 --- a/isisd/isis_routemap.c +++ b/isisd/isis_routemap.c @@ -20,8 +20,6 @@ * with this program; if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <stdlib.h> -#include <stdio.h> #include <zebra.h> #include "thread.h" diff --git a/isisd/isis_spf.c b/isisd/isis_spf.c index 988ad9b2..706ed16c 100644 --- a/isisd/isis_spf.c +++ b/isisd/isis_spf.c @@ -21,8 +21,6 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <stdlib.h> -#include <stdio.h> #include <zebra.h> #include "thread.h" |