Browse Source

core: typedef'ed the action context structure

Daniel-Constantin Mierla 9 years ago
parent
commit
000fa42112
1 changed files with 2 additions and 2 deletions
  1. 2 2
      action.h

+ 2 - 2
action.h

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