]> arthur.barton.de Git - netatalk.git/commitdiff
in ad_setname adouble is not a constant
authordidg <didg>
Thu, 11 Mar 2004 19:57:32 +0000 (19:57 +0000)
committerdidg <didg>
Thu, 11 Mar 2004 19:57:32 +0000 (19:57 +0000)
include/atalk/adouble.h
libatalk/adouble/ad_attr.c

index c6e076e2f1847822c743925e9c45eb3260d67e63..7d106c475c2cbfe4ab8244e47a96444e8718768a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: adouble.h,v 1.21.6.14 2004-03-11 16:16:41 didg Exp $
+ * $Id: adouble.h,v 1.21.6.15 2004-03-11 19:57:32 didg Exp $
  * Copyright (c) 1990,1991 Regents of The University of Michigan.
  * All Rights Reserved.
  *
@@ -430,7 +430,7 @@ extern int ad_getdate __P((const struct adouble *, unsigned int, u_int32_t *));
 extern int ad_setattr __P((const struct adouble *, const u_int16_t));
 extern int ad_getattr __P((const struct adouble *, u_int16_t *));
 
-extern int ad_setname __P((const struct adouble *, const char *));
+extern int ad_setname __P((struct adouble *, const char *));
 #if AD_VERSION == AD_VERSION2
 extern int ad_setid __P((struct adouble *, const dev_t dev,const ino_t ino, const u_int32_t, const u_int32_t, const void *));
 #else
index 9d35cf0d97d91c441f2112901d1c5c4cd17ee706..b7694ff58aab1f34539911c854eb205cb186e112 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ad_attr.c,v 1.4.8.5 2004-03-11 16:16:41 didg Exp $
+ * $Id: ad_attr.c,v 1.4.8.6 2004-03-11 19:57:33 didg Exp $
  */
 
 #ifdef HAVE_CONFIG_H
@@ -91,7 +91,7 @@ int ad_setid (struct adouble *adp, const dev_t dev, const ino_t ino , const u_in
 /* ----------------- 
  * set resource fork filename attribute.
 */
-int ad_setname(const struct adouble *ad, const char *path)
+int ad_setname(struct adouble *ad, const char *path)
 {
     if (ad_getentryoff(ad, ADEID_NAME)) {
         ad_setentrylen( ad, ADEID_NAME, strlen( path ));