mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-21 18:50:50 +01:00
khelp: Sprinkle const qualifiers where appropriate
No functional change intended. MFC after: 1 week
This commit is contained in:
parent
941f8aceac
commit
89937323bd
@ -27,7 +27,7 @@
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd February 15, 2011
|
||||
.Dd October 1, 2024
|
||||
.Dt KHELP 9
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -48,8 +48,8 @@
|
||||
.Fn "int khelp_destroy_osd" "struct osd *hosd"
|
||||
.Fn "int32_t khelp_get_id" "char *hname"
|
||||
.Fn "void * khelp_get_osd" "struct osd *hosd" "int32_t id"
|
||||
.Fn "int khelp_add_hhook" "struct hookinfo *hki" "uint32_t flags"
|
||||
.Fn "int khelp_remove_hhook" "struct hookinfo *hki"
|
||||
.Fn "int khelp_add_hhook" "const struct hookinfo *hki" "uint32_t flags"
|
||||
.Fn "int khelp_remove_hhook" "const struct hookinfo *hki"
|
||||
.Fn KHELP_DECLARE_MOD "hname" "hdata" "hhooks" "version"
|
||||
.Fn KHELP_DECLARE_MOD_UMA "hname" "hdata" "hhooks" "version" "ctor" "dtor"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -253,7 +253,7 @@ khelp_get_id(char *hname)
|
||||
}
|
||||
|
||||
int
|
||||
khelp_add_hhook(struct hookinfo *hki, uint32_t flags)
|
||||
khelp_add_hhook(const struct hookinfo *hki, uint32_t flags)
|
||||
{
|
||||
int error;
|
||||
|
||||
@ -267,7 +267,7 @@ khelp_add_hhook(struct hookinfo *hki, uint32_t flags)
|
||||
}
|
||||
|
||||
int
|
||||
khelp_remove_hhook(struct hookinfo *hki)
|
||||
khelp_remove_hhook(const struct hookinfo *hki)
|
||||
{
|
||||
int error;
|
||||
|
||||
|
@ -70,8 +70,8 @@ void * khelp_get_osd(struct osd *hosd, int32_t id);
|
||||
|
||||
int32_t khelp_get_id(char *hname);
|
||||
|
||||
int khelp_add_hhook(struct hookinfo *hki, uint32_t flags);
|
||||
int khelp_add_hhook(const struct hookinfo *hki, uint32_t flags);
|
||||
|
||||
int khelp_remove_hhook(struct hookinfo *hki);
|
||||
int khelp_remove_hhook(const struct hookinfo *hki);
|
||||
|
||||
#endif /* _SYS_KHELP_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user