error: hide unnecessary symbols

parent 7950a11e
......@@ -518,7 +518,7 @@ if ENABLE_COMMANDS
# Binaries shipping with liblxc
init_lxc_SOURCES = cmd/lxc_init.c \
compiler.h \
error.h \
error.c error.h \
initutils.c initutils.h \
memory_utils.h \
parse.c parse.h \
......
......@@ -18,7 +18,7 @@ lxc_log_define(error, lxc);
* 128+n signal n received by the application
* 255 lxc error
*/
extern int lxc_error_set_and_log(int pid, int status)
int lxc_error_set_and_log(int pid, int status)
{
int ret = 0;
......
......@@ -6,6 +6,8 @@
#define LXC_CLONE_ERROR "Failed to clone a new set of namespaces"
#define LXC_UNPRIV_EOPNOTSUPP "the requested function %s is not currently supported with unprivileged containers"
extern int lxc_error_set_and_log(int pid, int status);
#include "compiler.h"
__hidden extern int lxc_error_set_and_log(int pid, int status);
#endif
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