diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2010-10-21 02:23:50 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-10-30 07:42:19 +0200 |
commit | b8800aa5d9c7e4e2869321c77b80f322a0d9663a (patch) | |
tree | 27bda6447f0b2ab2eec7beafcef090da489222fa /kernel/audit.h | |
parent | Audit: add support to match lsm labels on user audit messages (diff) | |
download | linux-b8800aa5d9c7e4e2869321c77b80f322a0d9663a.tar.xz linux-b8800aa5d9c7e4e2869321c77b80f322a0d9663a.zip |
audit: make functions static
I was doing some namespace checks and found some simple stuff in
audit that could be cleaned up. Make some functions static, and
put const on make_reply payload arg.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/audit.h')
-rw-r--r-- | kernel/audit.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/audit.h b/kernel/audit.h index f7206db4e13d..91e7071c4d2c 100644 --- a/kernel/audit.h +++ b/kernel/audit.h @@ -84,10 +84,7 @@ extern int audit_compare_dname_path(const char *dname, const char *path, int *dirlen); extern struct sk_buff * audit_make_reply(int pid, int seq, int type, int done, int multi, - void *payload, int size); -extern void audit_send_reply(int pid, int seq, int type, - int done, int multi, - void *payload, int size); + const void *payload, int size); extern void audit_panic(const char *message); struct audit_netlink_list { |