Module: kamailio
Branch: master
Commit: ad2f899c1ad75c2b636cb17b6c1c49cb38daab27
URL:
https://github.com/kamailio/kamailio/commit/ad2f899c1ad75c2b636cb17b6c1c49c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-04-04T10:55:36+02:00
core: declare function parameter type to get rid of compile warning
---
Modified: main.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ad2f899c1ad75c2b636cb17b6c1c49c…
Patch:
https://github.com/kamailio/kamailio/commit/ad2f899c1ad75c2b636cb17b6c1c49c…
---
diff --git a/main.c b/main.c
index 51a52a7..8c044ff 100644
--- a/main.c
+++ b/main.c
@@ -509,10 +509,10 @@ char *sr_memmng_pkg = NULL;
char *sr_memmng_shm = NULL;
/* call it before exiting; if show_status==1, mem status is displayed */
-void cleanup(show_status)
+void cleanup(int show_status)
{
int memlog;
-
+
/*clean-up*/
#ifndef SHM_SAFE_MALLOC
if (_shm_lock)