Skip to content

Commit

Permalink
lsm.h: Fix inline definition
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
  • Loading branch information
stgraber committed Oct 18, 2013
1 parent 55a204f commit 6c1b2b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/lsm/lsm.h
Expand Up @@ -50,7 +50,7 @@ static inline void lsm_init(void) { }
static inline int lsm_enabled(void) { return 0; }
static inline const char *lsm_name(void) { return "none"; }
static inline char *lsm_process_label_get(pid_t pid) { return NULL; }
static inline int lsm_process_label_set(char *label, int use_default, int on_exec) { return 0; }
static inline int lsm_process_label_set(const char *label, int use_default, int on_exec) { return 0; }
static inline int lsm_proc_mount(struct lxc_conf *lxc_conf) { return 0; }
static inline void lsm_proc_unmount(struct lxc_conf *lxc_conf) { }
#endif
Expand Down

0 comments on commit 6c1b2b1

Please sign in to comment.