aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-09-22 18:42:02 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-09-22 18:42:43 -0300
commitbf1e255f4db491d0c2683334b2f7cb8cc48b6e8d (patch)
treeab0f0a03857a02432b266366f22cec2946a13741
parent5a3d7d407e18424835c194a63e56b4cb7309fad8 (diff)
downloadaports-bf1e255f4db491d0c2683334b2f7cb8cc48b6e8d.tar.gz
aports-bf1e255f4db491d0c2683334b2f7cb8cc48b6e8d.tar.bz2
aports-bf1e255f4db491d0c2683334b2f7cb8cc48b6e8d.tar.xz
main/kamailio: remove stale patch
-rw-r--r--main/kamailio/jsonrcc-use-extern-not-to-declare-global-variables-many-times.patch63
1 files changed, 0 insertions, 63 deletions
diff --git a/main/kamailio/jsonrcc-use-extern-not-to-declare-global-variables-many-times.patch b/main/kamailio/jsonrcc-use-extern-not-to-declare-global-variables-many-times.patch
deleted file mode 100644
index 3b3ffdf8ca..0000000000
--- a/main/kamailio/jsonrcc-use-extern-not-to-declare-global-variables-many-times.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From bc9baca2229d09b912a51a2e64ead79f709d45fd Mon Sep 17 00:00:00 2001
-From: Daniel-Constantin Mierla <miconda@gmail.com>
-Date: Sat, 7 Mar 2020 13:24:37 +0100
-Subject: [PATCH] jsonrcc: use extern not to declare global variables many
- times
-
----
- src/modules/jsonrpcc/jsonrpc_io.c | 2 +-
- src/modules/jsonrpcc/jsonrpc_request.c | 2 +-
- src/modules/jsonrpcc/jsonrpc_request.h | 2 +-
- src/modules/jsonrpcc/jsonrpcc_mod.c | 1 +
- 4 files changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/src/modules/jsonrpcc/jsonrpc_io.c b/src/modules/jsonrpcc/jsonrpc_io.c
-index ebb93348ba..81627659fb 100644
---- a/src/modules/jsonrpcc/jsonrpc_io.c
-+++ b/src/modules/jsonrpcc/jsonrpc_io.c
-@@ -58,7 +58,7 @@ struct jsonrpc_server_group {
- struct jsonrpc_server_group *next_group;
- };
-
--struct tm_binds tmb;
-+extern struct tm_binds tmb;
-
- struct jsonrpc_server_group *server_group;
-
-diff --git a/src/modules/jsonrpcc/jsonrpc_request.c b/src/modules/jsonrpcc/jsonrpc_request.c
-index d2321e5f37..63af54dfe1 100644
---- a/src/modules/jsonrpcc/jsonrpc_request.c
-+++ b/src/modules/jsonrpcc/jsonrpc_request.c
-@@ -29,7 +29,7 @@
- #include "jsonrpc_io.h"
-
-
--struct tm_binds tmb;
-+extern struct tm_binds tmb;
- static char *shm_strdup(str *src);
-
- int memory_error() {
-diff --git a/src/modules/jsonrpcc/jsonrpc_request.h b/src/modules/jsonrpcc/jsonrpc_request.h
-index 16114d9aa7..49cfdb46c1 100644
---- a/src/modules/jsonrpcc/jsonrpc_request.h
-+++ b/src/modules/jsonrpcc/jsonrpc_request.h
-@@ -26,6 +26,6 @@
-
- int jsonrpc_request(struct sip_msg* msg, char* method, char* params, char* cb_route, char* err_route, char* cb_pv);
- int jsonrpc_notification(struct sip_msg* msg, char* method, char* params);
--int cmd_pipe;
-+extern int cmd_pipe;
-
- #endif /* _JSONRPC_REQUEST_H_ */
-diff --git a/src/modules/jsonrpcc/jsonrpcc_mod.c b/src/modules/jsonrpcc/jsonrpcc_mod.c
-index c5d067b733..062b5b4096 100644
---- a/src/modules/jsonrpcc/jsonrpcc_mod.c
-+++ b/src/modules/jsonrpcc/jsonrpcc_mod.c
-@@ -49,6 +49,7 @@ int fixup_pvar_shm(void** param, int param_no);
-
- char *servers_param;
- int pipe_fds[2] = {-1,-1};
-+int cmd_pipe = -1;
-
- extern int _jsonrpcc_max_conn_retry; /* max retries to connect */
-