From d52241cfc8b1e1a5ed602fedfe9d11b4653c96cf Mon Sep 17 00:00:00 2001 From: comex Date: Mon, 13 Jul 2015 17:08:55 -0400 Subject: hook up the list of dylibs --- darwin-bootstrap/posixspawn-hook.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'darwin-bootstrap/posixspawn-hook.c') diff --git a/darwin-bootstrap/posixspawn-hook.c b/darwin-bootstrap/posixspawn-hook.c index 50c4ca9..893cfee 100644 --- a/darwin-bootstrap/posixspawn-hook.c +++ b/darwin-bootstrap/posixspawn-hook.c @@ -170,11 +170,6 @@ end: return ret; } -static const char *xbasename(const char *path) { - const char *slash = strrchr(path, '/'); - return slash ? slash + 1 : path; -} - static int hook_posix_spawn_generic(__typeof__(posix_spawn) *old, pid_t *restrict pidp, const char *restrict path, const posix_spawn_file_actions_t *file_actions, -- cgit v1.2.3