HomeFreeBSD

libcompat: silence -Wdeprecated-non-prototype

Description

libcompat: silence -Wdeprecated-non-prototype

by removing unnecessary re-declarations and converting K&R-style
function definitions.

Differential Revision: https://reviews.freebsd.org/D43723
Reviewed by: imp, emaste

(cherry picked from commit 12bae251fbfa33f375d134e0840d88c4363b8b94)

Details

Provenance
pstefAuthored on Feb 3 2024, 6:12 PM
Reviewer
imp
Differential Revision
D43723: libcompat: silence -Wdeprecated-non-prototype
Parents
rG6efcd634c6f9: hostname(1): Add test cases
Branches
Unknown
Tags
Unknown