aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/wgetopt.cpp8
-rw-r--r--src/wgetopt.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/src/wgetopt.cpp b/src/wgetopt.cpp
index 80ffdcc9..c2905ab0 100644
--- a/src/wgetopt.cpp
+++ b/src/wgetopt.cpp
@@ -573,14 +573,6 @@ int wgetopter_t::_wgetopt_internal(int argc, wchar_t **argv, const wchar_t *opts
}
}
-int wgetopter_t::wgetopt(int argc, wchar_t **argv, const wchar_t *optstring)
-{
- return _wgetopt_internal(argc, argv, optstring,
- (const struct woption *) 0,
- (int *) 0,
- 0);
-}
-
int wgetopter_t::wgetopt_long(int argc, wchar_t **argv, const wchar_t *options, const struct woption *long_options, int *opt_index)
{
return _wgetopt_internal(argc, argv, options, long_options, opt_index, 0);
diff --git a/src/wgetopt.h b/src/wgetopt.h
index ad155870..794ccc65 100644
--- a/src/wgetopt.h
+++ b/src/wgetopt.h
@@ -147,7 +147,6 @@ public:
{
}
- int wgetopt(int argc, wchar_t **argv, const wchar_t *optstring);
int wgetopt_long(int argc, wchar_t **argv, const wchar_t *options, const struct woption *long_options, int *opt_index);
int wgetopt_long_only(int argc, wchar_t **argv, const wchar_t *options, const struct woption *long_options, int *opt_index);
};