Explorar o código

core: typedef'ed the action context structure

Daniel-Constantin Mierla %!s(int64=9) %!d(string=hai) anos
pai
achega
000fa42112
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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) \