]> arthur.barton.de Git - netatalk.git/commitdiff
Changed prototypes of strdiacasecmp and strndiacasecmp to be more
authorsrittau <srittau>
Wed, 15 Aug 2001 02:15:30 +0000 (02:15 +0000)
committersrittau <srittau>
Wed, 15 Aug 2001 02:15:30 +0000 (02:15 +0000)
sensible.

include/atalk/atp.h
include/atalk/util.h

index 24548c94e3c6ce4112934690900db3183faad8f8..1d446c2b6f511722308ebe379b1736c5ebfd31ea 100644 (file)
@@ -178,7 +178,7 @@ struct atp_block {
 #define ATP_TRESP      (2<<6)          /* Trans. RESPonse */
 #define ATP_TREL       (3<<6)          /* Trans. RELease */
 
-extern ATP             atp_open  __P((const u_int8_t, 
+extern ATP             atp_open  __P((u_int8_t, 
                                       const struct at_addr *));
 extern int             atp_close __P((ATP));
 extern int             atp_sreq  __P((ATP, struct atp_block *, int, 
index dee55d59b6f9acb36c47ed45341dfad36d725e3b..f1cecbc81149764f3b83a988825e8a62e45189b5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: util.h,v 1.3 2001-06-20 18:33:04 rufustfirefly Exp $
+ * $Id: util.h,v 1.4 2001-08-15 02:15:30 srittau Exp $
  */
 
 #ifndef _ATALK_UTIL_H
@@ -21,9 +21,8 @@ extern void freeifacelist(char **);
 #define diatoupper(x)     _diacasemap[(x)]
 extern int atalk_aton     __P((char *, struct at_addr *));
 extern void bprint        __P((char *, int));
-extern int strdiacasecmp  __P((const unsigned char *, const unsigned char *));
-extern int strndiacasecmp __P((const unsigned char *, const unsigned char *,
-                              int));
+extern int strdiacasecmp  __P((const char *, const char *));
+extern int strndiacasecmp __P((const char *, const char *, size_t));
 extern pid_t server_lock  __P((char * /*program*/, char * /*file*/, 
                               int /*debug*/));
 #define server_unlock(x)  (unlink(x))