daemon.c: make _fork_parent static inline again
commit801d069af4e660b6448928509f7599b6571dadb3
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 5 Sep 2023 10:44:10 +0000 (5 03:44 -0700)
committerWaldemar Brodkorb <wbx@openadk.org>
Thu, 7 Sep 2023 09:42:06 +0000 (7 11:42 +0200)
tree81df0e03155bf0c544763318330222482e064d61
parentcdb07d2cd52af39feb425e6d36c02b30916b9f0a
daemon.c: make _fork_parent static inline again

The commit cf649082c7d4 ("remove forced gcc optimization") removed -O3
optimization specified in the code for the function _fork_parent, but at
the same time it removed the 'static inline' part of the function
definition. That change seems unintended and _fork_parent is not a part
of the libc interface. Make it static inline again.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
libc/unistd/daemon.c