]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* 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 c1889e327a92deb0fc3f2cfb874c1877049539d3..aee1b7f0e9a39fd7ec93c4162e6c672c93fb388c 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 f4dc21f8af38040f5f2f0d351e593ee74d90c31e..7d7cd05ff92b9020504cbf65fd90c224b8707c4b 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))