mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-19 06:31:13 -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;
|
||||
}
|
||||
|
||||
// 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) {
|
||||
struct config_paths_t paths;
|
||||
bool done = false;
|
||||
|
||||
Reference in New Issue
Block a user