From: Ulrich Drepper Date: Sat, 2 Aug 2008 15:53:18 +0000 (+0000) Subject: * sysdeps/posix/clock_getres.c (hp_timing_getres): Remove inline X-Git-Tag: cvs/fedora-glibc-20080828T1623~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3501542f9475d352fd77bef5c8902cc6c14673c2;p=platform%2Fupstream%2Fglibc.git * sysdeps/posix/clock_getres.c (hp_timing_getres): Remove inline to prevent warning. --- diff --git a/ChangeLog b/ChangeLog index c1889e3..aee1b7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-08-02 Ulrich Drepper + + * sysdeps/posix/clock_getres.c (hp_timing_getres): Remove inline + to prevent warning. + 2008-08-01 Ulrich Drepper * sysdeps/unix/sysv/linux/Versions: Fix changes due to old patch for diff --git a/sysdeps/posix/clock_getres.c b/sysdeps/posix/clock_getres.c index f4dc21f..7d7cd05 100644 --- a/sysdeps/posix/clock_getres.c +++ b/sysdeps/posix/clock_getres.c @@ -1,5 +1,5 @@ /* clock_getres -- Get the resolution of a POSIX clockid_t. - Copyright (C) 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 1999,2000,2001,2003,2004,2008 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 @@ -28,7 +28,7 @@ #if HP_TIMING_AVAIL static long int nsec; /* Clock frequency of the processor. */ -static inline int +static int hp_timing_getres (struct timespec *res) { if (__builtin_expect (nsec == 0, 0))