Set permissions of created file
[oweals/busybox.git] / test.c
diff --git a/test.c b/test.c
index 6439e3a8ae94f2d6edbea90d99273fc7e4854ba3..79db8cbb62c65306c79d33b614fd6abd2fcea5e4 100644 (file)
--- a/test.c
+++ b/test.c
  *     "This program is in the Public Domain."
  */
 
-#include "busybox.h"
 #include <sys/types.h>
 #include <unistd.h>
 #include <ctype.h>
 #include <errno.h>
 #include <stdlib.h>
 #include <string.h>
+#include "busybox.h"
 #define BB_DECLARE_EXTERN
 #define bb_need_help
 #include "messages.c"
@@ -110,10 +110,10 @@ enum token_types {
        PAREN
 };
 
-struct t_op {
+static const struct t_op {
        const char *op_text;
        short op_num, op_type;
-} const ops [] = {
+} ops [] = {
        {"-r",  FILRD,  UNOP},
        {"-w",  FILWR,  UNOP},
        {"-x",  FILEX,  UNOP},