Remove getopt_long() from headers

We removed this API a long time ago and it was breaking the GNU make
open source build.
This commit is contained in:
Justine Tunney 2023-06-17 16:03:16 -07:00
parent b881c0ec9e
commit 12452976bd
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
8 changed files with 12 additions and 23 deletions

View file

@ -28,7 +28,7 @@ char *strpbrk(const char *s, const char *accept) {
if (!accept[1]) {
return strchr(s, accept[0]);
} else {
memset(lut, 0, sizeof(lut));
bzero(lut, sizeof(lut));
while (*accept) {
lut[*accept++ & 255] = true;
}