From: Martin Mares Date: Fri, 22 Jun 2007 08:26:30 +0000 (+0200) Subject: Added missing parameter names to function prototypes. X-Git-Tag: holmes-import~506^2~65 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=7324ffdbc66b3ddadc317361cb14f464da3efc24;p=libucw.git Added missing parameter names to function prototypes. (They were correct, but this is definitely more readable.) --- diff --git a/lib/lib.h b/lib/lib.h index 4eeab682..e7916a11 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -165,25 +165,25 @@ int match_ct_patt(const char *, const char *); /* wordsplit.c */ int sepsplit(byte *str, byte sep, byte **rec, uns max); -int wordsplit(byte *, byte **, uns); +int wordsplit(byte *str, byte **rec, uns max); /* pat(i)match.c: Matching of shell patterns */ -int match_pattern(const char *, const char *); -int match_pattern_nocase(const char *, const char *); +int match_pattern(const char *patt, const char *str); +int match_pattern_nocase(const char *patt, const char *str); /* md5hex.c */ -void md5_to_hex(const byte *, byte *); -void hex_to_md5(const byte *, byte *); +void md5_to_hex(const byte *s, byte *d); +void hex_to_md5(const byte *s, byte *d); #define MD5_SIZE 16 #define MD5_HEX_SIZE 33 /* prime.c */ -int isprime(uns); -uns nextprime(uns); +int isprime(uns x); +uns nextprime(uns x); /* primetable.c */