mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
Stop exporting kDefaultPath
This is used only within path.cpp; make it a static.
This commit is contained in:
parent
1d0c22b390
commit
c260c1259e
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
|||
#include "wutil.h" // IWYU pragma: keep
|
||||
|
||||
// PREFIX is defined at build time.
|
||||
const wcstring_list_t kDefaultPath({L"/bin", L"/usr/bin", PREFIX L"/bin"});
|
||||
static const wcstring_list_t kDefaultPath({L"/bin", L"/usr/bin", PREFIX L"/bin"});
|
||||
|
||||
static get_path_result_t path_get_path_core(const wcstring &cmd, const wcstring_list_t &pathsv) {
|
||||
const get_path_result_t noent_res{ENOENT, wcstring{}};
|
||||
|
|
Loading…
Reference in a new issue