Page MenuHomeFreeBSD

diff3: Remove bespoke getopt.h
ClosedPublic

Authored by emaste on Nov 18 2025, 1:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 6, 5:40 PM
Unknown Object (File)
Mon, Feb 2, 3:59 AM
Unknown Object (File)
Wed, Jan 28, 3:28 PM
Unknown Object (File)
Dec 31 2025, 11:52 PM
Unknown Object (File)
Dec 29 2025, 5:58 PM
Unknown Object (File)
Dec 27 2025, 2:24 AM
Unknown Object (File)
Dec 26 2025, 5:21 AM
Unknown Object (File)
Dec 20 2025, 2:42 AM
Subscribers

Details

Summary
diff3's getopt.h included a function declaration without a prototype,
which produces a warning.  Just remove the bespoke getopt.h and use
the system's one.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable