From: Roland McGrath Date: Mon, 1 Mar 2004 21:05:16 +0000 (+0000) Subject: Tweak last change. X-Git-Tag: v4.5.18~632 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90d0afd72811fa149d66b9c6b59d0ebcbf9aba6b;p=strace Tweak last change. --- diff --git a/util.c b/util.c index 3a3db0a2..5a85c0b7 100644 --- a/util.c +++ b/util.c @@ -1303,11 +1303,6 @@ typedef struct regs arg_setup_state; # endif # endif -# ifndef arg0_index -# define arg0_index 0 -# define arg1_index 1 -# endif - typedef int arg_setup_state; # define arg_setup(tcp, state) (0) @@ -1338,6 +1333,11 @@ set_arg1 (struct tcb *tcp, void *cookie, long val) # define restore_arg1(tcp, state, val) set_arg1((tcp), (state), (val)) #endif +#ifndef arg0_index +# define arg0_index 0 +# define arg1_index 1 +#endif + int setbpt(tcp) struct tcb *tcp;