diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2012-03-14 08:30:36 -0400 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2012-03-14 22:09:13 -0400 |
commit | 2d4cee7e3a2b9f9c3237672cc136e20dbad0e2ce (patch) | |
tree | 5ec9bd7d6e135ace242941d51ab1f80478e1293f /security/apparmor/include/policy.h | |
parent | ad5ff3db53c68c2f12936bc74ea5dfe0af943592 (diff) |
AppArmor: add const qualifiers to string arrays
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include/policy.h')
-rw-r--r-- | security/apparmor/include/policy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/include/policy.h b/security/apparmor/include/policy.h index 9e18e9609e24..bda4569fdd83 100644 --- a/security/apparmor/include/policy.h +++ b/security/apparmor/include/policy.h | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "file.h" | 29 | #include "file.h" |
30 | #include "resource.h" | 30 | #include "resource.h" |
31 | 31 | ||
32 | extern const char *profile_mode_names[]; | 32 | extern const char *const profile_mode_names[]; |
33 | #define APPARMOR_NAMES_MAX_INDEX 3 | 33 | #define APPARMOR_NAMES_MAX_INDEX 3 |
34 | 34 | ||
35 | #define COMPLAIN_MODE(_profile) \ | 35 | #define COMPLAIN_MODE(_profile) \ |