git: 3a8f4c41fb17 - stable/13 - netipsec/key.c: Use ANSI C definition for key_random()

Konstantin Belousov kib at FreeBSD.org
Fri Aug 13 09:35:11 UTC 2021


The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=3a8f4c41fb1751e83af7ef45d1f2f1e3969669ac

commit 3a8f4c41fb1751e83af7ef45d1f2f1e3969669ac
Author:     Konstantin Belousov <kib at FreeBSD.org>
AuthorDate: 2021-08-03 01:24:31 +0000
Commit:     Konstantin Belousov <kib at FreeBSD.org>
CommitDate: 2021-08-13 09:34:42 +0000

    netipsec/key.c: Use ANSI C definition for key_random()
    
    (cherry picked from commit 8b000bf5bcddea30e66e0b4e1158e2d7b328b262)
---
 sys/netipsec/key.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netipsec/key.c b/sys/netipsec/key.c
index 86dc9ea41024..71eaac7f8fa3 100644
--- a/sys/netipsec/key.c
+++ b/sys/netipsec/key.c
@@ -4739,7 +4739,7 @@ key_timehandler(void *arg)
 }
 
 u_long
-key_random()
+key_random(void)
 {
 	u_long value;
 


More information about the dev-commits-src-all mailing list