Browse code

core: declare function parameter type to get rid of compile warning

Daniel-Constantin Mierla authored on 04/04/2016 06:53:12
Showing 1 changed files
... ...
@@ -509,10 +509,10 @@ char *sr_memmng_pkg = NULL;
509 509
 char *sr_memmng_shm = NULL;
510 510
 
511 511
 /* call it before exiting; if show_status==1, mem status is displayed */
512
-void cleanup(show_status)
512
+void cleanup(int show_status)
513 513
 {
514 514
 	int memlog;
515
-	
515
+
516 516
 	/*clean-up*/
517 517
 #ifndef SHM_SAFE_MALLOC
518 518
 	if (_shm_lock)