* sysdeps/posix/clock_getres.c (hp_timing_getres): Remove inline

to prevent warning.
This commit is contained in:
Ulrich Drepper 2008-08-02 15:53:18 +00:00
parent ebcc1f4d75
commit 3501542f94
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-08-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/clock_getres.c (hp_timing_getres): Remove inline
to prevent warning.
2008-08-01 Ulrich Drepper <drepper@redhat.com> 2008-08-01 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/Versions: Fix changes due to old patch for * sysdeps/unix/sysv/linux/Versions: Fix changes due to old patch for

View File

@ -1,5 +1,5 @@
/* clock_getres -- Get the resolution of a POSIX clockid_t. /* 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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -28,7 +28,7 @@
#if HP_TIMING_AVAIL #if HP_TIMING_AVAIL
static long int nsec; /* Clock frequency of the processor. */ static long int nsec; /* Clock frequency of the processor. */
static inline int static int
hp_timing_getres (struct timespec *res) hp_timing_getres (struct timespec *res)
{ {
if (__builtin_expect (nsec == 0, 0)) if (__builtin_expect (nsec == 0, 0))