Module: kamailio
Branch: master
Commit: e1dc6dd6d9b206168f6da2929560ca6a64e1b41e
URL:
https://github.com/kamailio/kamailio/commit/e1dc6dd6d9b206168f6da2929560ca6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-03-03T08:47:20+01:00
core: typedef for str_list struct
---
Modified: src/core/str_list.h
---
Diff:
https://github.com/kamailio/kamailio/commit/e1dc6dd6d9b206168f6da2929560ca6…
Patch:
https://github.com/kamailio/kamailio/commit/e1dc6dd6d9b206168f6da2929560ca6…
---
diff --git a/src/core/str_list.h b/src/core/str_list.h
index fe1e53410d..db3fa12887 100644
--- a/src/core/str_list.h
+++ b/src/core/str_list.h
@@ -20,7 +20,7 @@
*/
/**
- * @file
+ * @file
* @brief Kamailio core :: Simple str type list and helper functions
*/
@@ -32,15 +32,15 @@
/**
* @brief Simple str type list
*/
-struct str_list {
+typedef struct str_list {
str s;
struct str_list *next;
-};
+} str_list_t;
/**
* @brief Add a new allocated list element to an existing list
- *
+ *
* Add a new allocated list element to an existing list, the allocation is done
* from the private memory pool
* @param s input character