]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
compat: stub out _rs_forkhandler for compat/arc4random.c
authorRoy Marples <roy@marples.name>
Tue, 2 Apr 2024 08:55:18 +0000 (09:55 +0100)
committerRoy Marples <roy@marples.name>
Tue, 2 Apr 2024 08:55:18 +0000 (09:55 +0100)
commit9f8bb1fc12347d2d52de41fe24ba8c1ac468f134
tree168106ab5d11aae72db808297128fd299a704e1e
parent0ab1dfa54ee5a1312446e4bb47cc0220d4e396ab
compat: stub out _rs_forkhandler for compat/arc4random.c

We need to keep the fd open at fork, but we retained the code to
handle a fork.

The original update to chacha avoided this by guarding the call
but left the code alive which produced an unused function warning
on the GitHub Ubuntu runner.
This update fixes that.
compat/arc4random.c