From a9368a6c3dfe4435ec2ae63fff4a3325104ed9f7 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Fri, 10 Jul 2009 10:52:27 -0400 Subject: [PATCH] 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 --- src/bozo/fsbnodeops.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bozo/fsbnodeops.c b/src/bozo/fsbnodeops.c index 4fc160355..160c244c5 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; } -- 2.39.5