Skip to content

Commit

Permalink
audit: Remove "weak" from audit_classify_compat_syscall() declaration
Browse files Browse the repository at this point in the history
There's only one audit_classify_compat_syscall() definition, so it doesn't
need to be weak.

Remove the "weak" attribute from the audit_classify_compat_syscall()
declaration.

Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Richard Guy Briggs <[email protected]>
CC: AKASHI Takahiro <[email protected]>
  • Loading branch information
bjorn-helgaas committed Oct 22, 2014
1 parent f114040 commit 9e8beeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/audit.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ extern unsigned compat_dir_class[];
extern unsigned compat_chattr_class[];
extern unsigned compat_signal_class[];

extern int __weak audit_classify_compat_syscall(int abi, unsigned syscall);
extern int audit_classify_compat_syscall(int abi, unsigned syscall);

/* audit_names->type values */
#define AUDIT_TYPE_UNKNOWN 0 /* we don't know yet */
Expand Down

0 comments on commit 9e8beeb

Please sign in to comment.