From 634e97a85e052d740e0b5de1ed9c9eafb825de47 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Sun, 10 Feb 2019 16:47:05 -0800 Subject: [PATCH] Remove unnecessary _NSGetExecutablePath declaration We do this in common.cpp now, and are including dyld.h anyhow. --- src/fish.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/fish.cpp b/src/fish.cpp index 9652f310f..e481cd4cc 100644 --- a/src/fish.cpp +++ b/src/fish.cpp @@ -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;