diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-09-10 12:30:51 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-09-10 12:30:51 +0400 |
commit | 4875a4b66eabdfee2d9186a694ea3599f19a51ed (patch) | |
tree | f68131ab196d3e317afa66c7dd0319a05eae1ad4 /winsup/cygwin/times.cc | |
parent | 04d55823da83da01d25876c8f0e14cea948e2eeb (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/times.cc')
-rw-r--r-- | winsup/cygwin/times.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc index 9dd579a66..12eb821ce 100644 --- a/winsup/cygwin/times.cc +++ b/winsup/cygwin/times.cc @@ -90,7 +90,7 @@ times (struct tms *buf) return tc; } -extern "C" clock_t _times (struct tms *) __attribute__((alias ("times"))); +EXPORT_ALIAS (times, _times) /* settimeofday: BSD */ extern "C" int @@ -172,8 +172,7 @@ gettimeofday (struct timeval *tv, struct timezone *tz) return 0; } -extern "C" int _gettimeofday (struct timeval *, struct timezone *) - __attribute__((alias ("gettimeofday"))); +EXPORT_ALIAS (gettimeofday, _gettimeofday) /* Cygwin internal */ void |