Skip to content

Commit

Permalink
libselinux/man: use void in synopses
Browse files Browse the repository at this point in the history
For functions that do not take any argument use consistently void
instead of empty parenthesis.

Signed-off-by: Christian Göttsche <[email protected]>
Acked-by: James Carter <[email protected]>
  • Loading branch information
cgzones authored and jwcart2 committed May 1, 2024
1 parent 06b326d commit c476389
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions libselinux/man/man3/is_selinux_enabled.3
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
Expand Down
2 changes: 1 addition & 1 deletion libselinux/man/man3/security_policyvers.3
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
Expand Down

0 comments on commit c476389

Please sign in to comment.