aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Normand <normand@fr.ibm.com>2009-05-18 22:30:39 +0200
committerDaniel Lezcano <dlezcano@fr.ibm.com>2009-05-18 22:30:39 +0200
commit7cee8789514fb42d6a48d50b904e24284f5526e3 (patch)
tree5769c6bb96509c861ed0bdbdad290d2064b5380b /src/lxc/error.h
parentremove LXC_ERROR_* usage in src/lxc/conf.c as not required (diff)
downloadlxc-7cee8789514fb42d6a48d50b904e24284f5526e3.tar.gz
lxc-7cee8789514fb42d6a48d50b904e24284f5526e3.tar.bz2
lxc-7cee8789514fb42d6a48d50b904e24284f5526e3.zip
remove lxc_error_t enum that is now useless
There is no more need of the LXC_ERROR defines and related lxc_strerror function. Signed-off-by: Michel Normand <normand@fr.ibm.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Diffstat (limited to 'src/lxc/error.h')
-rw-r--r--src/lxc/error.h37
1 files changed, 1 insertions, 36 deletions
diff --git a/src/lxc/error.h b/src/lxc/error.h
index 3cbbb20..ef25fc3 100644
--- a/src/lxc/error.h
+++ b/src/lxc/error.h
@@ -23,41 +23,6 @@
#ifndef __lxc_error_h
#define __lxc_error_h
-typedef enum {
- LXC_SUCCESS, /* 0 == success ;) */
-
- LXC_ERROR_LOCK,
-
- LXC_ERROR_ESRCH,
- LXC_ERROR_EEXIST,
- LXC_ERROR_EBUSY,
- LXC_ERROR_ENOENT,
- LXC_ERROR_EACCES,
- LXC_ERROR_WRONG_COMMAND,
-
- LXC_ERROR_CONF_CGROUP,
- LXC_ERROR_CONF_MOUNT,
- LXC_ERROR_CONF_UTSNAME,
- LXC_ERROR_CONF_NETWORK,
- LXC_ERROR_CONF_TTY,
- LXC_ERROR_CONF_ROOTFS,
- LXC_ERROR_CONF_PTS,
-
- LXC_ERROR_SETUP_CGROUP,
- LXC_ERROR_SETUP_MOUNT,
- LXC_ERROR_SETUP_UTSNAME,
- LXC_ERROR_SETUP_NETWORK,
- LXC_ERROR_SETUP_CONSOLE,
- LXC_ERROR_SETUP_TTY,
- LXC_ERROR_SETUP_ROOTFS,
- LXC_ERROR_SETUP_PTS,
-
- LXC_ERROR_TTY_DENIED,
- LXC_ERROR_TTY_EAGAIN,
- LXC_ERROR_INTERNAL,
-
- LXC_LAST_ERROR,
-} lxc_error_t;
-
extern int lxc_error_set_and_log(int pid, int status);
+
#endif