mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 19:53:59 +08:00
apparmor: make internal lib fn skipn_spaces available to the rest of apparmor
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
af7caa8f8d
commit
b91deb9db1
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user