Generate xlat/*.in files
Automatically convert xlat structures from *.c files to xlat/*.in files
using "./generate_xlat_in.sh *.c" command.
diff --git a/io.c b/io.c
index f5458f7..fea1218 100644
--- a/io.c
+++ b/io.c
@@ -317,21 +317,7 @@
return 0;
}
-static const struct xlat splice_flags[] = {
-#ifdef SPLICE_F_MOVE
- XLAT(SPLICE_F_MOVE),
-#endif
-#ifdef SPLICE_F_NONBLOCK
- XLAT(SPLICE_F_NONBLOCK),
-#endif
-#ifdef SPLICE_F_MORE
- XLAT(SPLICE_F_MORE),
-#endif
-#ifdef SPLICE_F_GIFT
- XLAT(SPLICE_F_GIFT),
-#endif
- XLAT_END
-};
+#include "xlat/splice_flags.h"
int
sys_tee(struct tcb *tcp)