diff --git a/builtin.cpp b/builtin.cpp index f1e73c0af..379d52907 100644 --- a/builtin.cpp +++ b/builtin.cpp @@ -1339,7 +1339,7 @@ static int builtin_functions(parser_t &parser, wchar_t **argv) { int i; for (i=woptind; i 0); diff --git a/function.h b/function.h index 2f8dfc36c..e2896f18e 100644 --- a/function.h +++ b/function.h @@ -95,6 +95,9 @@ void function_init(); /** Add a function. */ void function_add(const function_data_t &data, const parser_t &parser); +/** Removes a function from our internal table, returning true if it was found and false if not */ +bool function_remove_ignore_autoload(const wcstring &name); + /** Remove the function with the specified name. */