Skip to content

Commit be94835

Browse files
committed
Remove all mbuf and rtentry declarations.
These declarations are no-op on all supported platforms. I have verified Solaris 10 (fad-glifc.c) and AIX 7.1 (fad-gifc.c), Richard Lloyd of Connect Internet Solutions has verified HP-UX (fad-gifc.c).
1 parent e6103c7 commit be94835

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

fad-gifc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@
4141
#include <sys/sockio.h>
4242
#endif
4343

44-
struct mbuf; /* Squelch compiler warnings on some platforms for */
45-
struct rtentry; /* declarations in <net/if.h> */
4644
#include <net/if.h>
4745
#include <netinet/in.h>
4846

fad-glifc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@
4040
#include <sys/socket.h>
4141
#include <sys/sockio.h>
4242

43-
struct mbuf; /* Squelch compiler warnings on some platforms for */
44-
struct rtentry; /* declarations in <net/if.h> */
4543
#include <net/if.h>
4644
#include <netinet/in.h>
4745

pcap.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@
5050
#include <sys/sockio.h>
5151
#endif
5252

53-
struct mbuf; /* Squelch compiler warnings on some platforms for */
54-
struct rtentry; /* declarations in <net/if.h> */
5553
#include <net/if.h>
5654
#include <netinet/in.h>
5755
#endif /* _WIN32 */

0 commit comments

Comments
 (0)