]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
avoid clash between for getopt's struct option
authorDamien Miller <djm@mindrot.org>
Mon, 27 Feb 2023 06:07:52 +0000 (17:07 +1100)
committerDamien Miller <djm@mindrot.org>
Mon, 27 Feb 2023 06:10:12 +0000 (17:10 +1100)
commit01dbeb3084d714bbd001ff9d03b9de542e8cdf58
tree50237240ebea54abc66df90c42acf3690e20faf0
parenteb88d07c43afe407094e7d609248d85a15e148ef
avoid clash between for getopt's struct option

Since we don't use getopt_long() nothing outside the getopt()
implementation itself uses this structure, so move it into the
source to remove it from visibility and clashes with libc's

ok dtucker@
openbsd-compat/getopt.h
openbsd-compat/getopt_long.c