From: Christian Brauner Date: Fri, 17 Jul 2020 21:16:08 +0000 (+0200) Subject: attach: hide unnecessary symbols X-Git-Tag: lxc-5.0.0~388^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f68a800b9527d771ee9d51120e428066c54d053;p=thirdparty%2Flxc.git attach: hide unnecessary symbols Signed-off-by: Christian Brauner --- diff --git a/src/lxc/attach.h b/src/lxc/attach.h index ef5a6c19c..54fa0c73a 100644 --- a/src/lxc/attach.h +++ b/src/lxc/attach.h @@ -7,6 +7,7 @@ #include #include +#include "compiler.h" #include "namespace.h" struct lxc_conf; @@ -20,10 +21,10 @@ struct lxc_proc_context_info { int ns_fd[LXC_NS_MAX]; }; -extern int lxc_attach(struct lxc_container *container, - lxc_attach_exec_t exec_function, void *exec_payload, - lxc_attach_options_t *options, pid_t *attached_process); +__hidden extern int lxc_attach(struct lxc_container *container, lxc_attach_exec_t exec_function, + void *exec_payload, lxc_attach_options_t *options, + pid_t *attached_process); -extern int lxc_attach_remount_sys_proc(void); +__hidden extern int lxc_attach_remount_sys_proc(void); #endif /* __LXC_ATTACH_H */