Loic Tortay wrote:
> Indeed, the code seems visibly wrong on Solaris 10:
> [...]
> struct afs_nfs_disp_tbl afs_acl3_disp_tbl[3] = {
> {afs_nfs2_null},
> {afs_acl3_getacl},
> {afs_acl3_setacl},
> #if defined(AFS_SUN510_ENV)
> {afs_acl3_getxattrdir},
> #endif
> };
> [...]
You should be able to just omit the array size:
> struct afs_nfs_disp_tbl afs_acl3_disp_tbl[] = {
The compiler will figure it out.
--
Joe Buehler
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel