mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 08:57:29 +00:00
bfdd: clean up header inclusion
Most of the headers we need are included by zebra.h, so lets simplify this. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
This commit is contained in:
parent
9d63adda98
commit
6ed8494935
19
bfdd/bfd.c
19
bfdd/bfd.c
@ -27,25 +27,6 @@
|
||||
|
||||
#include <zebra.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/uio.h>
|
||||
#include <netinet/in.h>
|
||||
#include <net/if.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <netdb.h>
|
||||
#include <time.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include "lib/hash.h"
|
||||
#include "lib/jhash.h"
|
||||
|
||||
#include "bfd.h"
|
||||
|
@ -30,18 +30,8 @@
|
||||
#include <linux/if_packet.h>
|
||||
#endif /* BFD_LINUX */
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/if_ether.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <netinet/udp.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "lib/sockopt.h"
|
||||
|
||||
|
@ -20,16 +20,9 @@
|
||||
|
||||
#include <zebra.h>
|
||||
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "bfd.h"
|
||||
#include "lib/version.h"
|
||||
#include "lib/libfrr.h"
|
||||
|
||||
|
||||
/*
|
||||
* FRR related code.
|
||||
|
@ -25,17 +25,8 @@
|
||||
|
||||
#include <zebra.h>
|
||||
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/un.h>
|
||||
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "bfd.h"
|
||||
|
||||
/*
|
||||
|
@ -25,10 +25,6 @@
|
||||
|
||||
#include <zebra.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "bfd.h"
|
||||
|
||||
#include "lib/log_int.h"
|
||||
|
Loading…
Reference in New Issue
Block a user