summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/d_define.h30
-rw-r--r--src/d_enum.h37
-rw-r--r--src/m_loop_next.h7
3 files changed, 37 insertions, 37 deletions
diff --git a/src/d_define.h b/src/d_define.h
index ce0ccc9..ae3d92a 100644
--- a/src/d_define.h
+++ b/src/d_define.h
@@ -107,34 +107,4 @@
#define FT_SQB_LT "-lt"
#define FT_SQB_LE "-le"
-enum
-{
- FT_ID_SQB_B,
- FT_ID_SQB_C,
- FT_ID_SQB_D,
- FT_ID_SQB_E,
- FT_ID_SQB_F,
- FT_ID_SQB_H,
- FT_ID_SQB_N,
- FT_ID_SQB_P,
- FT_ID_SQB_R,
- FT_ID_SQB_S,
- FT_ID_SQB_W,
- FT_ID_SQB_X,
- FT_ID_SQB_Z,
- FT_ID_SQB_L_MAJ,
- FT_ID_SQB_S_MAJ,
- FT_ID_SQB_NT,
- FT_ID_SQB_OT,
- FT_ID_SQB_EQUA,
- FT_ID_SQB_DIFF,
- FT_ID_SQB_EQ,
- FT_ID_SQB_NE,
- FT_ID_SQB_GT,
- FT_ID_SQB_GE,
- FT_ID_SQB_LT,
- FT_ID_SQB_LE,
- FT_ID_SQB_COUNT
-};
-
#endif
diff --git a/src/d_enum.h b/src/d_enum.h
index c046118..6bd82df 100644
--- a/src/d_enum.h
+++ b/src/d_enum.h
@@ -34,6 +34,13 @@ enum
enum
{
+ FT_NO_MODE,
+ FT_SQ_MODE,
+ FT_DQ_MODE
+};
+
+enum
+{
FT_ID_ECHO,
FT_ID_CD,
FT_ID_PWD,
@@ -46,4 +53,34 @@ enum
FT_BUILTINS_COUNT
};
+enum
+{
+ FT_ID_SQB_B,
+ FT_ID_SQB_C,
+ FT_ID_SQB_D,
+ FT_ID_SQB_E,
+ FT_ID_SQB_F,
+ FT_ID_SQB_H,
+ FT_ID_SQB_N,
+ FT_ID_SQB_P,
+ FT_ID_SQB_R,
+ FT_ID_SQB_S,
+ FT_ID_SQB_W,
+ FT_ID_SQB_X,
+ FT_ID_SQB_Z,
+ FT_ID_SQB_L_MAJ,
+ FT_ID_SQB_S_MAJ,
+ FT_ID_SQB_NT,
+ FT_ID_SQB_OT,
+ FT_ID_SQB_EQUA,
+ FT_ID_SQB_DIFF,
+ FT_ID_SQB_EQ,
+ FT_ID_SQB_NE,
+ FT_ID_SQB_GT,
+ FT_ID_SQB_GE,
+ FT_ID_SQB_LT,
+ FT_ID_SQB_LE,
+ FT_ID_SQB_COUNT
+};
+
#endif
diff --git a/src/m_loop_next.h b/src/m_loop_next.h
index 1c80e2a..b4ca62c 100644
--- a/src/m_loop_next.h
+++ b/src/m_loop_next.h
@@ -17,13 +17,6 @@
#include "s_struct.h"
-enum
-{
- M_NO_MODE,
- M_SQ_MODE,
- M_DQ_MODE
-};
-
char *m_check_multi_backslash(int32_t fd, char line[], t_msh *msh);
char *m_check_multi_pipe(int32_t fd, char line[], t_msh *msh);
char *m_check_multi_and(int32_t fd, char line[], t_msh *msh);