Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2004-09-10 12:30:51 +0400
committerCorinna Vinschen <corinna@vinschen.de>2004-09-10 12:30:51 +0400
commit4875a4b66eabdfee2d9186a694ea3599f19a51ed (patch)
treef68131ab196d3e317afa66c7dd0319a05eae1ad4 /winsup/cygwin/exec.cc
parent04d55823da83da01d25876c8f0e14cea948e2eeb (diff)
* Makefile.in: Create libutil.a from bsdlib.o exports.
* bsdlib.cc (logwtmp): Move from syscalls.cc to here. (login): Ditto. (logout): Ditto. * winsup.h (EXPORT_ALIAS): New macro. * exec.cc: Define alias symbols using EXPORT_ALIAS macro. * syscalls.cc: Ditto. * times.cc: Ditto.
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, ...)