* sysdeps/posix/clock_getres.c (hp_timing_getres): Remove inline
authorUlrich Drepper <drepper@redhat.com>
Sat, 2 Aug 2008 15:53:18 +0000 (15:53 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 2 Aug 2008 15:53:18 +0000 (15:53 +0000)
to prevent warning.

ChangeLog
sysdeps/posix/clock_getres.c

index c1889e3..aee1b7f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * sysdeps/unix/sysv/linux/Versions: Fix changes due to old patch for
index f4dc21f..7d7cd05 100644 (file)
@@ -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))