瀏覽代碼

core: typedef'ed the action context structure

Daniel-Constantin Mierla 9 年之前
父節點
當前提交
000fa42112
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      action.h

+ 2 - 2
action.h

@@ -40,14 +40,14 @@
 #endif
 #endif
 
 
 
 
-struct run_act_ctx{
+typedef struct run_act_ctx {
 	int rec_lev;
 	int rec_lev;
 	int run_flags;
 	int run_flags;
 	int last_retcode; /* return from last route */
 	int last_retcode; /* return from last route */
 #ifdef USE_LONGJMP
 #ifdef USE_LONGJMP
 	jmp_buf jmp_env;
 	jmp_buf jmp_env;
 #endif
 #endif
-};
+} run_act_ctx_t;
 
 
 
 
 #define init_run_actions_ctx(ph) \
 #define init_run_actions_ctx(ph) \