Merge pull request #540 from daid/patch-1

Make the local variables of getopt static.
This commit is contained in:
Eldred Habert
2020-07-21 13:11:30 +02:00
committed by GitHub

2
src/extern/getopt.c vendored
View File

@@ -31,7 +31,7 @@
#include <string.h> #include <string.h>
#include "extern/getopt.h" #include "extern/getopt.h"
int __optpos, __optreset; static int __optpos, __optreset;
void musl__getopt_msg(const char *a, const char *b, const char *c, size_t l) void musl__getopt_msg(const char *a, const char *b, const char *c, size_t l)
{ {