apparmor: move the free_profile fn ahead of aa_alloc_profile
authorJohn Johansen <john.johansen@canonical.com>
Tue, 19 Feb 2013 00:11:34 +0000 (16:11 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Sun, 28 Apr 2013 07:37:24 +0000 (00:37 -0700)
commit4da05cc08da3f2058cecbe42ed9f4803d669730a
tree34be63209a5dd6034ad33bb9244047d34c2a3e42
parenta4987857d2c958b93b2faafe0811eea1a63ff59a
apparmor: move the free_profile fn ahead of aa_alloc_profile

Move the free_profile fn ahead of aa_alloc_profile so it can be used
in aa_alloc_profile without a forward declaration.

Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Kees Cook <kees@ubuntu.com>
security/apparmor/policy.c