[sr-dev] git:master:a41db4b0: core: typedefed struct proxy_l to proxy_l_t
Daniel-Constantin Mierla
miconda at gmail.com
Mon Jan 8 11:36:02 CET 2018
Module: kamailio
Branch: master
Commit: a41db4b0f56eccb8fb12c3c8257fd677d6c62537
URL: https://github.com/kamailio/kamailio/commit/a41db4b0f56eccb8fb12c3c8257fd677d6c62537
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-01-08T11:35:19+01:00
core: typedefed struct proxy_l to proxy_l_t
---
Modified: src/core/proxy.h
---
Diff: https://github.com/kamailio/kamailio/commit/a41db4b0f56eccb8fb12c3c8257fd677d6c62537.diff
Patch: https://github.com/kamailio/kamailio/commit/a41db4b0f56eccb8fb12c3c8257fd677d6c62537.patch
---
diff --git a/src/core/proxy.h b/src/core/proxy.h
index d6ed0f8308..c7f88c6ec1 100644
--- a/src/core/proxy.h
+++ b/src/core/proxy.h
@@ -33,7 +33,7 @@
#include "str.h"
#include "config.h"
-struct proxy_l{
+typedef struct proxy_l{
struct proxy_l* next;
str name; /* original name */
struct hostent host; /* addresses */
@@ -49,7 +49,7 @@ struct proxy_l{
int tx;
int tx_bytes;
int errors;
-};
+} proxy_l_t;
extern struct proxy_l* proxies;
@@ -90,5 +90,4 @@ inline static void proxy_mark(struct proxy_l* p, int err)
}
-#endif
-
+#endif
\ No newline at end of file
More information about the sr-dev
mailing list