mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
Remove unnecessary _NSGetExecutablePath declaration
We do this in common.cpp now, and are including dyld.h anyhow.
This commit is contained in:
parent
1c9fe71240
commit
634e97a85e
1 changed files with 0 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue