summaryrefslogtreecommitdiff
path: root/xutils.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 10:52:34 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 10:53:19 +0200
commit4722d3bac43062a9213a08ed2435b8ef9b426789 (patch)
treefa40f2282cda080bd697b976ae0f6ab89a38a6d4 /xutils.h
parent23bd5ecbd11766088784507a56e32975b4c755a2 (diff)
privs: move drop_privileges out of xutils
Again, also to be able to maintain this more easily. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'xutils.h')
-rw-r--r--xutils.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/xutils.h b/xutils.h
index 7911110..53bdca3 100644
--- a/xutils.h
+++ b/xutils.h
@@ -33,7 +33,6 @@ extern u32 wireless_bitrate(const char *ifname);
extern u32 ethtool_bitrate(const char *ifname);
extern int ethtool_drvinf(const char *ifname, struct ethtool_drvinfo *drvinf);
extern int ethtool_link(const char *ifname);
-extern void drop_privileges(bool enforce, uid_t uid, gid_t gid);
extern void set_nonblocking(int fd);
extern int set_nonblocking_sloppy(int fd);
extern int set_reuseaddr(int fd);