Skip to content

Commit

Permalink
attach: hide unnecessary symbols
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Jul 17, 2020
1 parent 035db74 commit 9f68a80
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/lxc/attach.h
Expand Up @@ -7,6 +7,7 @@
#include <lxc/attach_options.h>
#include <sys/types.h>

#include "compiler.h"
#include "namespace.h"

struct lxc_conf;
Expand All @@ -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 */

0 comments on commit 9f68a80

Please sign in to comment.