chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove unused includes
[elogind.git]
/
src
/
resolve
/
resolved-manager.c
diff --git
a/src/resolve/resolved-manager.c
b/src/resolve/resolved-manager.c
index 2edfb9f7fdee20b50f071e94d9bc19d85e7f53cb..167bea39b372849c07ea76666134f87c32b87b9d 100644
(file)
--- a/
src/resolve/resolved-manager.c
+++ b/
src/resolve/resolved-manager.c
@@
-19,18
+19,13
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <arpa/inet.h>
#include <resolv.h>
#include <resolv.h>
-#include <net/if.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
-#include <
sys/
poll.h>
+#include <poll.h>
#include <netinet/in.h>
#include "rtnl-util.h"
#include <netinet/in.h>
#include "rtnl-util.h"
-#include "event-util.h"
-#include "network-util.h"
#include "network-internal.h"
#include "network-internal.h"
-#include "conf-parser.h"
#include "socket-util.h"
#include "af-list.h"
#include "utf8.h"
#include "socket-util.h"
#include "af-list.h"
#include "utf8.h"
@@
-196,7
+191,7
@@
static int manager_rtnl_listen(Manager *m) {
assert(m);
assert(m);
- /* First, subscibe to interfaces coming and going */
+ /* First, subsc
r
ibe to interfaces coming and going */
r = sd_rtnl_open(&m->rtnl, 3, RTNLGRP_LINK, RTNLGRP_IPV4_IFADDR, RTNLGRP_IPV6_IFADDR);
if (r < 0)
return r;
r = sd_rtnl_open(&m->rtnl, 3, RTNLGRP_LINK, RTNLGRP_IPV4_IFADDR, RTNLGRP_IPV6_IFADDR);
if (r < 0)
return r;