X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=rt%2Fclock_gettime.c;h=1f14872de8aba47478bdca3e859dc3bcc32ed59f;hb=07256e183efe00ed833d1f744f7eef1e103afd74;hp=cc7936de8a53aaa508dcaff37a74728a8a55c651;hpb=568035b7874a099087b77f7bba3e36a1173787b0;p=platform%2Fupstream%2Fglibc.git diff --git a/rt/clock_gettime.c b/rt/clock_gettime.c index cc7936d..1f14872 100644 --- a/rt/clock_gettime.c +++ b/rt/clock_gettime.c @@ -1,5 +1,5 @@ /* Get the current value of a clock. Stub version. - Copyright (C) 1999-2013 Free Software Foundation, Inc. + Copyright (C) 1999-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -21,10 +21,11 @@ /* Get current value of CLOCK and store it in TP. */ int -clock_gettime (clockid_t clock_id, struct timespec *tp) +__clock_gettime (clockid_t clock_id, struct timespec *tp) { __set_errno (ENOSYS); return -1; } -strong_alias (clock_gettime, __clock_gettime) +weak_alias (__clock_gettime, clock_gettime) +libc_hidden_def (__clock_gettime) stub_warning (clock_gettime)