Jelajahi Sumber

param type enum moved into the header file.

Jan Janak 22 tahun lalu
induk
melakukan
ae71370790
2 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 0 4
      parser/parse_to.c
  2. 4 0
      parser/parse_to.h

+ 0 - 4
parser/parse_to.c

@@ -34,10 +34,6 @@
 #include "../ut.h"
 #include "../mem/mem.h"
 
-enum {
-	TAG_PARAM = 400, GENERAL_PARAM
-};
-
 
 enum {
 	START_TO, DISPLAY_QUOTED, E_DISPLAY_QUOTED, DISPLAY_TOKEN,

+ 4 - 0
parser/parse_to.h

@@ -31,6 +31,10 @@
 
 #include "../str.h"
 
+enum {
+	TAG_PARAM = 400, GENERAL_PARAM
+};
+
 struct to_param{
 	int type;              /* Type of parameter */
 	str name;              /* Name of parameter */