crypto/riscvcap: fix function declaration for hwprobe_to_cap
authorHongren Zheng <i@zenithal.me>
Sun, 12 May 2024 07:18:44 +0000 (15:18 +0800)
committerTomas Mraz <tomas@openssl.org>
Tue, 14 May 2024 13:24:26 +0000 (15:24 +0200)
commitf94d773f9455a7b48158738106c5b676f1fd04ff
tree3a405c91c56ad21c09e243a512348525edcc6855
parent7860bca22c404cfd763ae2648d708d5cc4df6c2f
crypto/riscvcap: fix function declaration for hwprobe_to_cap

error: function declaration isn't a prototype [-Werror=strict-prototypes]

Fixes: 66ad636b9 ("riscv: use hwprobe syscall for capability detection")
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24373)
crypto/riscvcap.c