We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5382c05 commit 4c72bc4Copy full SHA for 4c72bc4
Include/internal/pygetopt.h
@@ -1,19 +1,19 @@
1
#ifndef Py_INTERNAL_PYGETOPT_H
2
#define Py_INTERNAL_PYGETOPT_H
3
4
-int _PyOS_opterr;
5
-int _PyOS_optind;
6
-wchar_t *_PyOS_optarg;
+extern int _PyOS_opterr;
+extern int _PyOS_optind;
+extern wchar_t *_PyOS_optarg;
7
8
-void _PyOS_ResetGetOpt(void);
+extern void _PyOS_ResetGetOpt(void);
9
10
typedef struct {
11
const wchar_t *name;
12
int has_arg;
13
int val;
14
} _PyOS_LongOption;
15
16
-int _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring,
17
- const _PyOS_LongOption *longopts, int *longindex);
+extern int _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring,
+ const _PyOS_LongOption *longopts, int *longindex);
18
19
#endif /* !Py_INTERNAL_PYGETOPT_H */
0 commit comments