Skip to content

Commit

Permalink
Fix sparse warnings about non-ANSI function prototypes
Browse files Browse the repository at this point in the history
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Rene Scharfe authored and Junio C Hamano committed Apr 2, 2006
1 parent 5142db6 commit ec26b4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion git.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ static void list_commands(const char *exec_path, const char *pattern)
putchar('\n');
}

static void list_common_cmds_help()
static void list_common_cmds_help(void)
{
int i, longest = 0;

Expand Down
2 changes: 1 addition & 1 deletion http-push.c
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ static int refresh_lock(struct remote_lock *lock)
return rc;
}

static void check_locks()
static void check_locks(void)
{
struct remote_lock *lock = remote->locks;
time_t current_time = time(NULL);
Expand Down

0 comments on commit ec26b4d

Please sign in to comment.