Please sign in to comment.
Add a pcap-dbus.h header and include it in pcap-dbus.c and pcap.c.
That way, we ensure that the same function prototypes are seen when dbus_create() and dbus_findalldevs() are defined and when they're used. Also, add pcap-dbus.c to the list of "extra" files in Makefile.in, so it goes into the release tarball.
- Loading branch information...
Showing with 11 additions and 6 deletions.
|@@ -0,0 +1,2 @@|
|+pcap_t *dbus_create(const char *, char *, int *);|
|+int dbus_findalldevs(pcap_if_t **devlistp, char *errbuf);|