summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/exec.cc')
-rw-r--r--winsup/cygwin/exec.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/exec.cc b/winsup/cygwin/exec.cc
index d7c2ee1c2..ffc13ab41 100644
--- a/winsup/cygwin/exec.cc
+++ b/winsup/cygwin/exec.cc
@@ -35,8 +35,7 @@ execve (const char *path, char *const argv[], char *const envp[])
return spawnve (_P_OVERLAY, path, argv, envp);
}
-extern "C" int _execve (const char *, char *const [], char *const [])
- __attribute__ ((alias ("execve")));
+EXPORT_ALIAS (execve, _execve)
extern "C" int
execl (const char *path, const char *arg0, ...)