]> git.ipfire.org Git - thirdparty/lldpd.git/blobdiff - src/daemon/lldpd.h
Eliminate unused arguments to priv_init() with --disable-privsep.
[thirdparty/lldpd.git] / src / daemon / lldpd.h
index 32581e5985b7f5c0fd5e1a83573e59a2a6c0c1d3..7b2ea9160726fc2c5bca4b92132d4496c154354f 100644 (file)
@@ -194,7 +194,11 @@ client_handle_client(struct lldpd *cfg,
     int*);
 
 /* priv.c */
+#ifdef ENABLE_PRIVSEP
 void    priv_init(const char*, int, uid_t, gid_t);
+#else
+void    priv_init(void);
+#endif
 void    priv_wait(void);
 void    priv_ctl_cleanup(const char *ctlname);
 char           *priv_gethostname(void);