HP-UX 11i compiler will segv on static __inline in the fsbnode-bnode xlator
authorDerrick Brashear <shadow@dementia.org>
Fri, 10 Jul 2009 14:52:27 +0000 (10:52 -0400)
committerDerrick Brashear <shadow@dementia.org>
Fri, 10 Jul 2009 15:21:54 +0000 (09:21 -0600)
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 <shadow@dementia.org>
Verified-by: Derrick Brashear <shadow@dementia.org>

src/bozo/fsbnodeops.c

index 4fc1603..160c244 100644 (file)
@@ -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;
 }