Damien Miller
9ea0a4524a
unbreak fuzzers for clang16
...
getopt() needs a throw() attribute to compile, so supply one when compiling
things with C++
2024-01-08 14:45:14 +11:00
Damien Miller
01dbeb3084
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@
2023-02-27 17:10:12 +11:00
Darren Tucker
8654dd2d73
- (dtucker) [openbsd-compat/getopt.h] Remove unneeded bits.
2013-05-17 16:03:48 +10:00
Darren Tucker
0abfb559e3
- (dtucker) [openbsd-compat/getopt.h openbsd-compat/getopt_long.c
...
openbsd-compat/openbsd-compat.h] pull in getopt.h from openbsd and plumb
in to use it when we're using our own getopt.
2013-05-10 18:08:49 +10:00
Ben Lindstrom
515d0f9a1e
- (bal) openbsd-compat/ clean up. Considate headers, add in $Id$ on our
...
files, and added missing license to header.
2003-08-29 16:59:52 +00:00
Damien Miller
ff5f47e230
- (djm) Avoid warning on BSDgetopt
2001-09-18 15:05:20 +10:00
Tim Rice
a4f7ae1a35
- (tim) [includes.h openbsd-compat/getopt.c openbsd-compat/getopt.h]
...
rename getopt() to BSDgetopt() to keep form conflicting with
system getopt().
[Makefile.in configure.in] disable filepriv until I can add
missing procpriv calls.
2001-09-17 14:34:33 -07:00
Kevin Steves
60193f70f7
- (stevesk) change getopt() declaration
2001-07-14 16:05:55 +00:00
Damien Miller
4f8e66929b
- (djm) Pull in getopt(3) from OpenBSD libc for the optreset extension.
2001-07-14 13:22:53 +10:00