aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-08-02 15:53:18 +0000
committerUlrich Drepper <drepper@redhat.com>2008-08-02 15:53:18 +0000
commit3501542f9475d352fd77bef5c8902cc6c14673c2 (patch)
tree52720449f84303c29a05b18cfaa0ae1edf7fa69a /sysdeps/posix
parentebcc1f4d75a9c76509e29474fd77f14704328a9d (diff)
downloadglibc-3501542f9475d352fd77bef5c8902cc6c14673c2.tar
glibc-3501542f9475d352fd77bef5c8902cc6c14673c2.tar.gz
glibc-3501542f9475d352fd77bef5c8902cc6c14673c2.tar.bz2
glibc-3501542f9475d352fd77bef5c8902cc6c14673c2.zip
* sysdeps/posix/clock_getres.c (hp_timing_getres): Remove inline
to prevent warning.
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/clock_getres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/posix/clock_getres.c b/sysdeps/posix/clock_getres.c
index f4dc21f8af..7d7cd05ff9 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))