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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Christian Göttsche <cgzones@xxxxxxxxxxxxxx>

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

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

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 ()
-- 
2.43.0





[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux