* fadvise.h (LL_PAIR, LL_VAL_TO_PAIR): Move it ...
* tests.h: ... here.
---
 tests/fadvise.h |    7 -------
 tests/tests.h   |    7 +++++++
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/tests/fadvise.h b/tests/fadvise.h
index bc79091..61f561d 100644
--- a/tests/fadvise.h
+++ b/tests/fadvise.h
@@ -38,13 +38,6 @@
 # include "xlat.h"
 # include "xlat/advise.h"
 
-# if WORDS_BIGENDIAN
-#  define LL_PAIR(HI, LO) (HI), (LO)
-# else
-#  define LL_PAIR(HI, LO) (LO), (HI)
-# endif
-# define LL_VAL_TO_PAIR(llval) LL_PAIR((long) ((llval) >> 32), (long) (llval))
-
 static void do_fadvise(long fd, long long offset, long long llen, long advice);
 
 int
diff --git a/tests/tests.h b/tests/tests.h
index a482876..a557805 100644
--- a/tests/tests.h
+++ b/tests/tests.h
@@ -179,4 +179,11 @@ int send_mmsg(int, struct mmsghdr *, unsigned int, 
unsigned int);
 # define PRI__u64 PRI__64"u"
 # define PRI__x64 PRI__64"x"
 
+# if WORDS_BIGENDIAN
+#  define LL_PAIR(HI, LO) (HI), (LO)
+# else
+#  define LL_PAIR(HI, LO) (LO), (HI)
+# endif
+# define LL_VAL_TO_PAIR(llval) LL_PAIR((long) ((llval) >> 32), (long) (llval))
+
 #endif /* !STRACE_TESTS_H */
-- 
1.7.10.4


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to