]> granicus.if.org Git - strace/blobdiff - printrusage.c
Remove linux/ptp_clock.h
[strace] / printrusage.c
index df5b45835b5197e25388f5b25db1537c14be7299..a25ef99f50a3a8ff5abd4071dc9283ebc5906839 100644 (file)
@@ -3,6 +3,7 @@
  * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl>
  * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
  * Copyright (c) 1996-1999 Wichert Akkerman <wichert@cistron.nl>
+ * Copyright (c) 1999-2017 The strace developers.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -38,7 +39,7 @@ typedef struct rusage rusage_t;
 #include MPERS_DEFS
 
 MPERS_PRINTER_DECL(void, printrusage,
-                  struct tcb *const tcp, const kernel_ureg_t addr)
+                  struct tcb *const tcp, const kernel_ulong_t addr)
 {
        rusage_t ru;
 
@@ -75,7 +76,7 @@ MPERS_PRINTER_DECL(void, printrusage,
 
 #ifdef ALPHA
 void
-printrusage32(struct tcb *const tcp, const kernel_ureg_t addr)
+printrusage32(struct tcb *const tcp, const kernel_ulong_t addr)
 {
        struct rusage32 {
                timeval32_t ru_utime;           /* user time used */