X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=rt%2Fclock_gettime.c;h=1f14872de8aba47478bdca3e859dc3bcc32ed59f;hb=07256e183efe00ed833d1f744f7eef1e103afd74;hp=1203f0117956a9dbdcb7f834046115939b3de319;hpb=59ba27a63ada3f46b71ec99a314dfac5a38ad6d2;p=platform%2Fupstream%2Fglibc.git diff --git a/rt/clock_gettime.c b/rt/clock_gettime.c index 1203f01..1f14872 100644 --- a/rt/clock_gettime.c +++ b/rt/clock_gettime.c @@ -1,4 +1,5 @@ -/* Copyright (C) 1999, 2005 Free Software Foundation, Inc. +/* Get the current value of a clock. Stub version. + 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 @@ -20,11 +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; } -librt_hidden_def (clock_gettime) +weak_alias (__clock_gettime, clock_gettime) +libc_hidden_def (__clock_gettime) stub_warning (clock_gettime) -#include