]> wimlib.net Git - wimlib/blobdiff - programs/wgetopt.h
'extern' in function declarations is redundant
[wimlib] / programs / wgetopt.h
index 9b2f3a3b9ac426d52585651d1f2a02a93a2e634f..708870620df05a9934616c941ac923330fecb5c3 100644 (file)
@@ -17,14 +17,14 @@ struct woption {
 #define required_argument 1
 #define optional_argument 2
 
-extern int
+int
 wgetopt (int argc, wchar_t *const *argv, const wchar_t *optstring);
 
-extern int
+int
 wgetopt_long(int argc, wchar_t * const *argv, const wchar_t *options,
             const struct woption *long_options, int *opt_index);
 
-extern int
+int
 wgetopt_long_only(int argc, wchar_t *const *argv, const wchar_t *options,
                  const struct woption *long_options, int *opt_index);