Commit 0f71e1bf by Luka Perkov Committed by Stéphane Graber

include: cleanup unnecessary getline defines

The removed chunk is already defined in utils.h which is included in modified files. Signed-off-by: 's avatarLuka Perkov <luka.perkov@sartura.hr> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent b9fdb692
......@@ -55,12 +55,6 @@
#include <mntent.h>
#endif
#ifndef HAVE_GETLINE
#ifdef HAVE_FGETLN
#include <../include/getline.h>
#endif
#endif
lxc_log_define(lxc_cgroup, lxc);
static struct cgroup_process_info *lxc_cgroup_process_info_getx(const char *proc_pid_cgroup_str, struct cgroup_meta_data *meta);
......
......@@ -43,12 +43,6 @@
#include "namespace.h"
#include "utils.h"
#ifndef HAVE_GETLINE
#ifdef HAVE_FGETLN
#include <../include/getline.h>
#endif
#endif
int unshare(int flags);
static void usage(const char *name)
......
......@@ -61,12 +61,6 @@
#include <../include/ifaddrs.h>
#endif
#ifndef HAVE_GETLINE
#ifdef HAVE_FGETLN
#include <../include/getline.h>
#endif
#endif
#define MAX_BUFFER 4096
lxc_log_define(lxc_container, lxc);
......
......@@ -40,12 +40,6 @@
#include <sys/wait.h>
#include <assert.h>
#ifndef HAVE_GETLINE
#ifdef HAVE_FGETLN
#include <../include/getline.h>
#endif
#endif
#include "utils.h"
#include "log.h"
#include "lxclock.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment