From: Derrick Brashear Date: Fri, 10 Jul 2009 14:52:27 +0000 (-0400) Subject: HP-UX 11i compiler will segv on static __inline in the fsbnode-bnode xlator X-Git-Tag: openafs-devel-1_5_61~165 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=a9368a6c3dfe4435ec2ae63fff4a3325104ed9f7 HP-UX 11i compiler will segv on static __inline in the fsbnode-bnode xlator since this function appeared the compiler on HP-UX 11i started segving. since it's not necessary, we simply remove it Reviewed-on: http://gerrit.openafs.org/28 Reviewed-by: Derrick Brashear Verified-by: Derrick Brashear --- diff --git a/src/bozo/fsbnodeops.c b/src/bozo/fsbnodeops.c index 4fc1603..160c244 100644 --- a/src/bozo/fsbnodeops.c +++ b/src/bozo/fsbnodeops.c @@ -158,7 +158,10 @@ struct bnode_ops dafsbnode_ops = { * dropping type information */ -static_inline struct bnode * fsbnode2bnode(struct fsbnode *abnode) { +#ifndef AFS_HPUX_ENV +static_inline +#endif +struct bnode * fsbnode2bnode(struct fsbnode *abnode) { return (struct bnode *) abnode; }