]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
attach: hide unnecessary symbols
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 17 Jul 2020 21:16:08 +0000 (23:16 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 17 Jul 2020 21:16:08 +0000 (23:16 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/attach.h

index ef5a6c19c138bb5092d07229d3ec2623652f4c6d..54fa0c73af66a21be9d4c7397765a3b1b83eba54 100644 (file)
@@ -7,6 +7,7 @@
 #include <lxc/attach_options.h>
 #include <sys/types.h>
 
+#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 */