From ffdf3fc55d40f64030b6c0037e80dbca404a69e0 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 29 Feb 2016 06:03:15 -0800 Subject: Missing return type on some inline functions. * sysif.h (repress_privilege, drop_privilege): Add missing void. --- sysif.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysif.h b/sysif.h index 22431823..ebba51db 100644 --- a/sysif.h +++ b/sysif.h @@ -54,8 +54,8 @@ void repress_privilege(void); void drop_privilege(void); void simulate_setuid(val open_script); #else -INLINE repress_privilege(void) { } -INLINE drop_privilege(void) { } +INLINE void repress_privilege(void) { } +INLINE void drop_privilege(void) { } INLINE void simulate_setuid(val open_script) { } #endif void sysif_init(void); -- cgit v1.2.3