extern void print_timeval32_t(const timeval32_t *);
extern void printrusage32(struct tcb *, long);
-extern const char *sprint_timeval32(struct tcb *tcp, long);
-extern void print_timeval32(struct tcb *tcp, long);
-extern void print_timeval32_pair(struct tcb *tcp, long);
-extern void print_itimerval32(struct tcb *tcp, long);
+extern const char *sprint_timeval32(struct tcb *tcp, kernel_ureg_t);
+extern void print_timeval32(struct tcb *tcp, kernel_ureg_t);
+extern void print_timeval32_pair(struct tcb *tcp, kernel_ureg_t);
+extern void print_itimerval32(struct tcb *tcp, kernel_ureg_t);
#endif
#ifdef HAVE_STRUCT_USER_DESC
}
static int
-decode_select(struct tcb *tcp, kernel_ureg_t *args,
- void (*print_tv_ts) (struct tcb *, const long),
- const char * (*sprint_tv_ts) (struct tcb *, const long))
+decode_select(struct tcb *const tcp, const kernel_ureg_t *const args,
+ void (*const print_tv_ts) (struct tcb *, kernel_ureg_t),
+ const char * (*const sprint_tv_ts) (struct tcb *, kernel_ureg_t))
{
int i, j;
int nfds, fdsize;
}
MPERS_PRINTER_DECL(void, print_timespec,
- struct tcb *tcp, const long addr)
+ struct tcb *const tcp, const kernel_ureg_t addr)
{
timespec_t t;
}
MPERS_PRINTER_DECL(const char *, sprint_timespec,
- struct tcb *tcp, const long addr)
+ struct tcb *const tcp, const kernel_ureg_t addr)
{
timespec_t t;
static char buf[sizeof(timespec_fmt) + 3 * sizeof(t)];
}
MPERS_PRINTER_DECL(void, print_timespec_utime_pair,
- struct tcb *tcp, const long addr)
+ struct tcb *const tcp, const kernel_ureg_t addr)
{
timespec_t t[2];
}
MPERS_PRINTER_DECL(void, print_itimerspec,
- struct tcb *tcp, const long addr)
+ struct tcb *const tcp, const kernel_ureg_t addr)
{
timespec_t t[2];
}
MPERS_PRINTER_DECL(void, print_timeval,
- struct tcb *tcp, const long addr)
+ struct tcb *const tcp, const kernel_ureg_t addr)
{
timeval_t t;
}
MPERS_PRINTER_DECL(void, print_timeval_pair,
- struct tcb *tcp, const long addr)
+ struct tcb *const tcp, const kernel_ureg_t addr)
{
timeval_t t;
}
MPERS_PRINTER_DECL(const char *, sprint_timeval,
- struct tcb *tcp, const long addr)
+ struct tcb *const tcp, const kernel_ureg_t addr)
{
timeval_t t;
static char buf[sizeof(timeval_fmt) + 3 * sizeof(t)];
}
MPERS_PRINTER_DECL(void, print_itimerval,
- struct tcb *tcp, const long addr)
+ struct tcb *const tcp, const kernel_ureg_t addr)
{
timeval_t t[2];
}
void
-print_timeval32(struct tcb *tcp, const long addr)
+print_timeval32(struct tcb *const tcp, const kernel_ureg_t addr)
{
timeval32_t t;
}
void
-print_timeval32_pair(struct tcb *tcp, const long addr)
+print_timeval32_pair(struct tcb *const tcp, const kernel_ureg_t addr)
{
timeval32_t t[2];
}
void
-print_itimerval32(struct tcb *tcp, const long addr)
+print_itimerval32(struct tcb *const tcp, const kernel_ureg_t addr)
{
timeval32_t t[2];
}
const char *
-sprint_timeval32(struct tcb *tcp, const long addr)
+sprint_timeval32(struct tcb *const tcp, const kernel_ureg_t addr)
{
timeval32_t t;
static char buf[sizeof(timeval_fmt) + 3 * sizeof(t)];