]> mj.ucw.cz Git - libucw.git/commitdiff
Added missing parameter names to function prototypes.
authorMartin Mares <mj@ucw.cz>
Fri, 22 Jun 2007 08:26:30 +0000 (10:26 +0200)
committerMartin Mares <mj@ucw.cz>
Fri, 22 Jun 2007 08:26:30 +0000 (10:26 +0200)
(They were correct, but this is definitely more readable.)

lib/lib.h

index 4eeab68228b64d37efff0f9cd5f7991874db6dc1..e7916a11220eae6d6da8dcb1e3e371cceaaeb8e4 100644 (file)
--- 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 */