diff mbox series

[3/5] libselinux/man: use void in synopses

Message ID 20240429163122.63181-3-cgoettsche@seltendoof.de (mailing list archive)
State Accepted
Commit c476389bb79a
Delegated to: Petr Lautrbach
Headers show
Series [1/5] libselinux/man: correct file extension of man pages | expand

Commit Message

Christian Göttsche April 29, 2024, 4:31 p.m. UTC
From: Christian Göttsche <cgzones@googlemail.com>

For functions that do not take any argument use consistently void
instead of empty parenthesis.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
---
 libselinux/man/man3/is_selinux_enabled.3  | 4 ++--
 libselinux/man/man3/security_policyvers.3 | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/libselinux/man/man3/is_selinux_enabled.3 b/libselinux/man/man3/is_selinux_enabled.3
index a887b48c..16b7cd3c 100644
--- a/libselinux/man/man3/is_selinux_enabled.3
+++ b/libselinux/man/man3/is_selinux_enabled.3
@@ -8,9 +8,9 @@  is_selinux_mls_enabled \- check whether SELinux is enabled for (Multi Level Secu
 .SH "SYNOPSIS"
 .B #include <selinux/selinux.h>
 .sp
-.B int is_selinux_enabled();
+.B int is_selinux_enabled(void);
 .sp
-.B int is_selinux_mls_enabled();
+.B int is_selinux_mls_enabled(void);
 .
 .SH "DESCRIPTION"
 .BR is_selinux_enabled ()
diff --git a/libselinux/man/man3/security_policyvers.3 b/libselinux/man/man3/security_policyvers.3
index 041ff3a7..b2f6185b 100644
--- a/libselinux/man/man3/security_policyvers.3
+++ b/libselinux/man/man3/security_policyvers.3
@@ -4,7 +4,7 @@  security_policyvers \- get the version of the SELinux policy
 .SH "SYNOPSIS"
 .B #include <selinux/selinux.h>
 .sp
-.B int security_policyvers();
+.B int security_policyvers(void);
 .
 .SH "DESCRIPTION"
 .BR security_policyvers ()