wtap: clean up empty lines in .c and .h files

This commit is contained in:
Mateusz Guzik 2020-09-01 21:45:35 +00:00
parent 6c7cae4a73
commit 0bd0689270
8 changed files with 0 additions and 14 deletions

View File

@ -70,12 +70,10 @@
#include <net/bpf.h>
#include <sys/errno.h>
#include <sys/conf.h> /* cdevsw struct */
#include <sys/uio.h> /* uio struct */
#include <netinet/in.h>
#include <netinet/if_ether.h>
@ -132,7 +130,6 @@ wtap_ioctl(struct cdev *dev, u_long cmd, caddr_t data,
return error;
}
/* The function called at load/unload. */
static int
event_handler(module_t module, int event, void *arg)

View File

@ -70,7 +70,6 @@
#include <net/bpf.h>
#include <sys/errno.h>
#include <sys/conf.h> /* cdevsw struct */
#include <sys/uio.h> /* uio struct */
@ -200,7 +199,6 @@ del_link(struct visibility_plugin *vis_plugin, struct link *l)
#endif
}
int
vis_ioctl(struct cdev *sdev, u_long cmd, caddr_t data,
int fflag, struct thread *td)
@ -239,4 +237,3 @@ vis_ioctl(struct cdev *sdev, u_long cmd, caddr_t data,
CURVNET_RESTORE();
return error;
}

View File

@ -55,4 +55,3 @@ void visibility_deinit(struct wtap_plugin *);
void visibility_work(struct wtap_plugin *, struct packet *);
#endif

View File

@ -50,4 +50,3 @@ struct link {
#define VISIOCTLLINK _IOW('W', 4, struct link) //
#endif

View File

@ -37,7 +37,6 @@
#include "../if_medium.h"
#include "../wtap_hal/hal.h"
struct wtap_plugin {
struct cdev *wp_sdev;
struct wtap_hal *wp_hal;
@ -47,4 +46,3 @@ struct wtap_plugin {
};
#endif

View File

@ -214,4 +214,3 @@ free_wtap(struct wtap_hal *hal, int32_t id)
hal->hal_devs[id] = NULL;
return 0;
}

View File

@ -52,6 +52,4 @@ void deregister_plugin(struct wtap_hal *);
int32_t new_wtap(struct wtap_hal *, int32_t id);
int32_t free_wtap(struct wtap_hal *, int32_t id);
#endif

View File

@ -49,4 +49,3 @@ struct eventhandler {
};
#endif