[sr-dev] git:master:ad2f899c: core: declare function parameter type to get rid of compile warning

Daniel-Constantin Mierla miconda at gmail.com
Mon Apr 4 10:55:52 CEST 2016


Module: kamailio
Branch: master
Commit: ad2f899c1ad75c2b636cb17b6c1c49cb38daab27
URL: https://github.com/kamailio/kamailio/commit/ad2f899c1ad75c2b636cb17b6c1c49cb38daab27

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/ad2f899c1ad75c2b636cb17b6c1c49cb38daab27.diff
Patch: https://github.com/kamailio/kamailio/commit/ad2f899c1ad75c2b636cb17b6c1c49cb38daab27.patch

---

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)




More information about the sr-dev mailing list