Removed useless command-line option.

This commit is contained in:
Greg King
2013-05-07 00:54:44 -04:00
parent 912b0d9e93
commit 372e6ac1d6
9 changed files with 3 additions and 75 deletions

View File

@@ -55,15 +55,6 @@ SearchPath* BinSearchPath; /* Binary include path */
void ForgetAllIncludePaths (void)
/* Remove all include search paths. */
{
ForgetSearchPath (IncSearchPath);
ForgetSearchPath (BinSearchPath);
}
void InitIncludePaths (void)
/* Initialize the include path search list */
{

View File

@@ -60,9 +60,6 @@ extern SearchPath* BinSearchPath; /* Binary include path */
void ForgetAllIncludePaths (void);
/* Remove all include search paths. */
void InitIncludePaths (void);
/* Initialize the include path search list */

View File

@@ -116,7 +116,6 @@ static void Usage (void)
" --debug\t\t\tDebug mode\n"
" --debug-info\t\t\tAdd debug info to object file\n"
" --feature name\t\tSet an emulation feature\n"
" --forget-inc-paths\t\tForget include search paths\n"
" --help\t\t\tHelp (this text)\n"
" --ignore-case\t\t\tIgnore case of symbols\n"
" --include-dir dir\t\tSet an include directory search path\n"
@@ -438,15 +437,6 @@ static void OptFeature (const char* Opt attribute ((unused)), const char* Arg)
static void OptForgetIncPaths (const char* Opt attribute ((unused)),
const char* Arg attribute ((unused)))
/* Forget all currently defined include paths */
{
ForgetAllIncludePaths ();
}
static void OptHelp (const char* Opt attribute ((unused)),
const char* Arg attribute ((unused)))
/* Print usage information and exit */
@@ -868,7 +858,6 @@ int main (int argc, char* argv [])
{ "--debug", 0, OptDebug },
{ "--debug-info", 0, OptDebugInfo },
{ "--feature", 1, OptFeature },
{ "--forget-inc-paths", 0, OptForgetIncPaths },
{ "--help", 0, OptHelp },
{ "--ignore-case", 0, OptIgnoreCase },
{ "--include-dir", 1, OptIncludeDir },