]> arthur.barton.de Git - netatalk.git/commitdiff
apple attributes' name are constant
authordidg <didg>
Wed, 28 Oct 2009 01:31:57 +0000 (01:31 +0000)
committerdidg <didg>
Wed, 28 Oct 2009 01:31:57 +0000 (01:31 +0000)
etc/afpd/extattrs.c

index 21598f17d4a0789789501780e5710d7c9ea4c485..af93228ddcbec983be0a32d1751293dba0abcb4c 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  $Id: extattrs.c,v 1.12 2009-10-28 01:30:25 didg Exp $
+  $Id: extattrs.c,v 1.13 2009-10-28 01:31:57 didg Exp $
   Copyright (c) 2009 Frank Lahm <franklahm@gmail.com>
 
   This program is free software; you can redistribute it and/or modify
@@ -37,8 +37,8 @@
 #include "fork.h"
 #include "extattrs.h"
 
-static char *ea_finderinfo = "com.apple.FinderInfo";
-static char *ea_resourcefork = "com.apple.ResourceFork";
+static const char *ea_finderinfo = "com.apple.FinderInfo";
+static const char *ea_resourcefork = "com.apple.ResourceFork";
 
 /* This should be big enough to consecutively store the names of all attributes */
 static char attrnamebuf[ATTRNAMEBUFSIZ];