aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'security.h')
-rw-r--r--security.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/security.h b/security.h
index c93ec3e..d2625e2 100644
--- a/security.h
+++ b/security.h
@@ -1,9 +1,9 @@
/* Various security related features.
*
- * Copyright 2015 Gentoo Foundation
+ * Copyright 2015-2024 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
*
- * Copyright 2015 Mike Frysinger - <vapier@gentoo.org>
+ * Copyright 2015-2024 Mike Frysinger - <vapier@gentoo.org>
*/
#ifndef _PAX_SECURITY_H
@@ -22,7 +22,7 @@ void security_init(bool allow_forking);
/* Disable forking; usable only when allow_forking above was true. */
void security_init_pid(void);
#else
-static inline void security_init(bool allow_forking) {}
+static inline void security_init(bool allow_forking) { (void) allow_forking; }
static inline void security_init_pid(void) {}
#endif