mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-28 09:31:16 -03:00
Remove unnecessary _NSGetExecutablePath declaration
We do this in common.cpp now, and are including dyld.h anyhow.
This commit is contained in:
@@ -84,11 +84,6 @@ static bool get_realpath(std::string &path) {
|
|||||||
return ptr != NULL;
|
return ptr != NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
// OS X function for getting the executable path.
|
|
||||||
extern "C" {
|
|
||||||
int _NSGetExecutablePath(char *buf, uint32_t *bufsize);
|
|
||||||
}
|
|
||||||
|
|
||||||
static struct config_paths_t determine_config_directory_paths(const char *argv0) {
|
static struct config_paths_t determine_config_directory_paths(const char *argv0) {
|
||||||
struct config_paths_t paths;
|
struct config_paths_t paths;
|
||||||
bool done = false;
|
bool done = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user