hurd: include generic's hp-timing.h instead of copying it
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 30 Jan 2018 00:17:51 +0000 (01:17 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 30 Jan 2018 00:17:51 +0000 (01:17 +0100)
* sysdeps/mach/hurd/hp-timing.h: include <sysdeps/generic/hp-timing.h>
instead of copying it.

sysdeps/mach/hurd/hp-timing.h

index d1845e1..7bff90c 100644 (file)
    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>