]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - benchtests/bench-timing.h
Refactor hp-timing rtld usage
[thirdparty/glibc.git] / benchtests / bench-timing.h
index 03e05fe5d49d05e4146a772c38795bd72442b675..93fe379f99a98567e287a80cc19476f3167b70ee 100644 (file)
@@ -1,5 +1,5 @@
 /* Define timing macros.
-   Copyright (C) 2013-2015 Free Software Foundation, Inc.
+   Copyright (C) 2013-2019 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
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#undef attribute_hidden
+#define attribute_hidden
 #include <hp-timing.h>
 #include <stdint.h>
 
-#if HP_TIMING_AVAIL && !defined USE_CLOCK_GETTIME
+#if HP_TIMING_INLINE && !defined USE_CLOCK_GETTIME
 # define GL(x) _##x
 # define GLRO(x) _##x
 typedef hp_timing_t timing_t;