Skip to content

Commit

Permalink
* sysdeps/ia64/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.
Browse files Browse the repository at this point in the history
	* sysdeps/unix/sysv/linux/time.c: If __NR_time is not defined,
	use sysdeps/unix/time.c implementation.
  • Loading branch information
Ulrich Drepper committed Dec 20, 2005
1 parent 0f7920c commit 3525901
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2005-12-20 Jakub Jelinek <jakub@redhat.com>

* sysdeps/ia64/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.

* sysdeps/unix/sysv/linux/time.c: If __NR_time is not defined,
use sysdeps/unix/time.c implementation.

2005-12-19 Ulrich Drepper <drepper@redhat.com>

[BZ #1955]
Expand Down
10 changes: 9 additions & 1 deletion sysdeps/unix/sysv/linux/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@

#include <sysdep.h>

#ifdef __NR_time

time_t
time (time_t *t)
time (t)
time_t *t;
{
INTERNAL_SYSCALL_DECL (err);
time_t res = INTERNAL_SYSCALL (time, err, 1, NULL);
Expand All @@ -33,3 +35,9 @@ time (time_t *t)
return res;
}
libc_hidden_def (time)

#else

# include <sysdeps/unix/time.c>

#endif

0 comments on commit 3525901

Please sign in to comment.