mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
Stop exporting kDefaultPath
This is used only within path.cpp; make it a static.
This commit is contained in:
parent
1d0c22b390
commit
c260c1259e
|
@ -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 New Issue
Block a user