loopback-setup: no need to redefine LOOPBACK_IFINDEX, we already have it in missing.h

This commit is contained in:
Lennart Poettering 2015-02-03 13:48:15 +01:00
parent e5f774df56
commit 9ca903cceb
1 changed files with 3 additions and 5 deletions

View File

@ -27,15 +27,13 @@
#include <stdlib.h>
#include <unistd.h>
#include "sd-rtnl.h"
#include "util.h"
#include "macro.h"
#include "loopback-setup.h"
#include "socket-util.h"
#include "sd-rtnl.h"
#include "rtnl-util.h"
/* this is hardcoded in the kernel, so don't look it up */
#define LOOPBACK_IFINDEX 1
#include "missing.h"
#include "loopback-setup.h"
static int start_loopback(sd_rtnl *rtnl) {
_cleanup_rtnl_message_unref_ sd_rtnl_message *req = NULL;