]> granicus.if.org Git - strace/commitdiff
Tweak last change.
authorRoland McGrath <roland@redhat.com>
Mon, 1 Mar 2004 21:05:16 +0000 (21:05 +0000)
committerRoland McGrath <roland@redhat.com>
Mon, 1 Mar 2004 21:05:16 +0000 (21:05 +0000)
util.c

diff --git a/util.c b/util.c
index 3a3db0a290aed62b00c9cb122703f26aac762db9..5a85c0b73a5d6d0b25f08409c6c5c13e5c666483 100644 (file)
--- 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;