]> git.ipfire.org Git - thirdparty/lxc.git/commit
Fix following compile error on ubuntu 12.10
authorS.Çağlar Onur <caglar@10ur.org>
Sat, 19 Oct 2013 04:45:03 +0000 (00:45 -0400)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Sat, 19 Oct 2013 14:53:09 +0000 (09:53 -0500)
commitbc605ac6dd45b3fb52207c79b49e89ab8dfbd9e0
treeb9e60e377620133b323fdd6ce4c0e51c174fbe6b
parent58b61f6d3442e984a88c093dbdfd20f1d0a82587
Fix following compile error on ubuntu 12.10

[...]
make[3]: Entering directory `/home/caglar/Projects/lxc/src/tests'
depbase=`echo attach.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        gcc -DHAVE_CONFIG_H -I. -I../../src    -I../../src -DLXCROOTFSMOUNT=\"/usr/lib/x86_64-linux-gnu/lxc/rootfs\" -DLXCPATH=\"/var/lib/lxc\" -DLXC_GLOBAL_CONF=\"/etc/lxc/lxc.conf\" -DLXCINITDIR=\"/usr/libexec\" -DLXC_DEFAULT_CONFIG=\"/etc/lxc/default.conf\"   -g -O2 -Wall -Werror -MT attach.o -MD -MP -MF $depbase.Tpo -c -o attach.o attach.c &&\
        mv -f $depbase.Tpo $depbase.Po
attach.c: In function ‘main’:
attach.c:380:2: error: implicit declaration of function ‘test_lsm_detect’ [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make[3]: *** [attach.o] Error 1
[...]

Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/tests/attach.c