summaryrefslogtreecommitdiffstats
path: root/sys/security/audit/audit.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-05-23 09:32:30 +0000
committerrwatson <rwatson@FreeBSD.org>2007-05-23 09:32:30 +0000
commit799e37dd6b2764f099717642f6b0c21130154362 (patch)
tree4e7bb52caabf0dd45878fb7e96392fb260ba2ed6 /sys/security/audit/audit.c
parentcdee790df9aefa589048c813a730fb95c714bd3a (diff)
downloadFreeBSD-src-799e37dd6b2764f099717642f6b0c21130154362.zip
FreeBSD-src-799e37dd6b2764f099717642f6b0c21130154362.tar.gz
No need to force __inline__ of currecord(), as the compiler will usefully
inline it when needed already, and the symbol is also required outside of audit.c. This silences a new gcc warning on the topic of using __inline__ instead of __inline. MFC after: 3 days
Diffstat (limited to 'sys/security/audit/audit.c')
-rw-r--r--sys/security/audit/audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/audit/audit.c b/sys/security/audit/audit.c
index c6e17ca..0a3a711 100644
--- a/sys/security/audit/audit.c
+++ b/sys/security/audit/audit.c
@@ -282,7 +282,7 @@ audit_shutdown(void *arg, int howto)
/*
* Return the current thread's audit record, if any.
*/
-__inline__ struct kaudit_record *
+struct kaudit_record *
currecord(void)
{
OpenPOWER on IntegriCloud