/*
- * $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.
*
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
/*
- * $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
/* -----------------
* 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 ));