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)
  • Loading branch information
miconda committed Jun 29, 2016
1 parent 187666d commit 1dd63bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.c
Expand Up @@ -498,10 +498,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 1dd63bb

Please sign in to comment.