Skip to content

Commit

Permalink
core: declare function parameter type to get rid of compile warning
Browse files Browse the repository at this point in the history
(cherry picked from commit ad2f899)
(cherry picked from commit 74052b4)
(cherry picked from commit 1dd63bb)
  • Loading branch information
miconda committed Jul 4, 2016
1 parent a66d6c8 commit f2c7e9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.c
Expand Up @@ -554,10 +554,10 @@ char* pgid_file = 0;


/* 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 (mem_lock)
Expand Down

0 comments on commit f2c7e9d

Please sign in to comment.