Skip to content

Commit

Permalink
prototype declared static, but function was not. add static to function.
Browse files Browse the repository at this point in the history
millert@ otto@ ok
  • Loading branch information
Anil Madhavapeddy committed Oct 28, 2003
1 parent a83547c commit 45882e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $OpenBSD: util.c,v 1.16 2003/07/20 19:19:48 millert Exp $ */
/* $OpenBSD: util.c,v 1.17 2003/07/20 22:16:52 millert Exp $ */

/*-
* Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
Expand Down Expand Up @@ -469,7 +469,7 @@ grep_strdup(const char *str)
* Returns: i >= 0 on failure (position that it failed)
* -1 on success
*/
int
static int
grep_cmp(const unsigned char *pattern, const unsigned char *data, size_t len)
{
int i;
Expand Down

0 comments on commit 45882e0

Please sign in to comment.