diff options
Diffstat (limited to 'security/apparmor')
-rw-r--r-- | security/apparmor/include/lib.h | 1 | ||||
-rw-r--r-- | security/apparmor/lib.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/security/apparmor/include/lib.h b/security/apparmor/include/lib.h index 550a700563b4..89524aade657 100644 --- a/security/apparmor/include/lib.h +++ b/security/apparmor/include/lib.h @@ -60,6 +60,7 @@ extern int apparmor_initialized; /* fn's in lib */ +const char *skipn_spaces(const char *str, size_t n); char *aa_split_fqname(char *args, char **ns_name); const char *aa_splitn_fqname(const char *fqname, size_t n, const char **ns_name, size_t *ns_len); diff --git a/security/apparmor/lib.c b/security/apparmor/lib.c index 7cd788a9445b..864b2fa45852 100644 --- a/security/apparmor/lib.c +++ b/security/apparmor/lib.c @@ -69,7 +69,7 @@ char *aa_split_fqname(char *fqname, char **ns_name) * if all whitespace will return NULL */ -static const char *skipn_spaces(const char *str, size_t n) +const char *skipn_spaces(const char *str, size_t n) { for (; n && isspace(*str); --n) ++str; |