Separate extern getopt implementation from the unistd.h one

Fixes #710
This commit is contained in:
Rangi authored and Eldred Habert committed 2021-02-12 00:29:21 +01:00
1 parent 88e1cc7302
commit 464a3a4892
6 files changed
+170 -150

No files matched your search

+2 -2
View File
@@ -26,8 +26,8 @@
#ifndef RGBDS_EXTERN_GETOPT_H
#define RGBDS_EXTERN_GETOPT_H
extern char *optarg;
extern int optind, opterr, optopt, optreset;
extern char *musl_optarg;
extern int musl_optind, musl_opterr, musl_optopt, musl_optreset;
struct option {
const char *name;