about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-30 01:17:51 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-30 01:17:51 +0100
commit9a123ff05d624f429aa31fce10a8276a52a11f0d (patch)
treeda49ed6ee026180de2bc2931ac867f7e21626066 /sysdeps
parentef4cf463e59b763f289b80084e70911962da6d6c (diff)
downloadglibc-9a123ff05d624f429aa31fce10a8276a52a11f0d.tar.gz
glibc-9a123ff05d624f429aa31fce10a8276a52a11f0d.tar.xz
glibc-9a123ff05d624f429aa31fce10a8276a52a11f0d.zip
hurd: include generic's hp-timing.h instead of copying it
* sysdeps/mach/hurd/hp-timing.h: include <sysdeps/generic/hp-timing.h>
instead of copying it.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/hp-timing.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/sysdeps/mach/hurd/hp-timing.h b/sysdeps/mach/hurd/hp-timing.h
index d1845e17b2..7bff90cb93 100644
--- a/sysdeps/mach/hurd/hp-timing.h
+++ b/sysdeps/mach/hurd/hp-timing.h
@@ -17,22 +17,5 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#ifndef _HP_TIMING_H
-#define _HP_TIMING_H	1
-
 /* We don't have support for high precision timing for now. */
-
-/* Provide dummy definitions.  */
-#define HP_TIMING_AVAIL		(0)
-#define HP_SMALL_TIMING_AVAIL	(0)
-#define HP_TIMING_INLINE	(0)
-typedef int hp_timing_t;
-#define HP_TIMING_NOW(var)
-#define HP_TIMING_DIFF(Diff, Start, End)
-#define HP_TIMING_ACCUM_NT(Sum, Diff)
-#define HP_TIMING_PRINT(Buf, Len, Val)
-
-/* Since this implementation is not available we tell the user about it.  */
-#define HP_TIMING_NONAVAIL	1
-
-#endif	/* hp-timing.h */
+#include <sysdeps/generic/hp-timing.h>