Module: kamailio
Branch: master
Commit: e703b10cab467a0bd2a147fe63177a29310ece81
URL:
https://github.com/kamailio/kamailio/commit/e703b10cab467a0bd2a147fe63177a2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-06-29T09:33:47+02:00
keepalive: removed duplicated typedef definition
---
Modified: src/modules/keepalive/api.h
---
Diff:
https://github.com/kamailio/kamailio/commit/e703b10cab467a0bd2a147fe63177a2…
Patch:
https://github.com/kamailio/kamailio/commit/e703b10cab467a0bd2a147fe63177a2…
---
diff --git a/src/modules/keepalive/api.h b/src/modules/keepalive/api.h
index 020989b4ce..33b7db135b 100644
--- a/src/modules/keepalive/api.h
+++ b/src/modules/keepalive/api.h
@@ -29,6 +29,7 @@
#define __KEEPALIVE_API_H_
#include "../../core/sr_module.h"
+#include "keepalive.h"
typedef int ka_state;
@@ -36,7 +37,6 @@ typedef int ka_state;
#define KA_STATE_UP 1
#define KA_STATE_DOWN 2
-typedef void (*ka_statechanged_f)(str *uri, int state, void *user_attr);
typedef int (*ka_add_dest_f)(str *uri, str *owner, int flags,
ka_statechanged_f callback, void *user_attr);
typedef ka_state (*ka_dest_state_f)(str *uri);
@@ -70,4 +70,4 @@ static inline int keepalive_load_api(keepalive_api_t *api)
return 0;
}
-#endif /* __KEEPALIVE_API_H__ */
\ No newline at end of file
+#endif /* __KEEPALIVE_API_H__ */