summaryrefslogtreecommitdiff
path: root/xutils.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 11:55:28 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 11:55:28 +0200
commit83ef345503943cc6f7c2f02381f71113601e8261 (patch)
treec86227397301650996a2b2db5d4b75b8ad33f7d1 /xutils.h
parent7bd73747fff54cf51642dbbf042c621e59a2c005 (diff)
xutils: eliminate xutils, move rest to epoll2
Finally eliminate xutils.{c,h} and move the rest to epoll2. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'xutils.h')
-rw-r--r--xutils.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/xutils.h b/xutils.h
deleted file mode 100644
index 2e0e251..0000000
--- a/xutils.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * netsniff-ng - the packet sniffing beast
- * Copyright 2009, 2010 Daniel Borkmann.
- * Copyright 2009, 2010 Emmanuel Roullit.
- * Subject to the GPL, version 2.
- */
-
-#ifndef XSYS_H
-#define XSYS_H
-
-#define _GNU_SOURCE
-#include <errno.h>
-#include <stdint.h>
-#include <sys/socket.h>
-#include <unistd.h>
-#include <linux/ethtool.h>
-#include <linux/if.h>
-#include <linux/wireless.h>
-#include <poll.h>
-#include <sys/poll.h>
-#include <sched.h>
-#include <stdbool.h>
-#include <sys/resource.h>
-#include <sys/time.h>
-
-#include "built_in.h"
-
-extern void set_epoll_descriptor(int fd_epoll, int action, int fd_toadd, int events);
-extern int set_epoll_descriptor2(int fd_epoll, int action, int fd_toadd, int events);
-
-#endif /* XSYS_H */