generic-inline-20080924
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Wed, 24 Sep 2008 22:34:19 +0000 (22:34 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 24 Sep 2008 22:34:19 +0000 (22:34 +0000)
LICENSE IPL10

move static_inline macro to generic location

src/config/stds.h
src/vol/vnode_inline.h
src/vol/volume_inline.h

index 62d64db..176be3b 100644 (file)
@@ -276,4 +276,12 @@ typedef struct afsUUID afsUUID;
 #define AFS_DEMAND_ATTACH_FS 1
 #endif
 
+#ifdef AFS_HPUX_ENV
+#define static_inline static __inline
+#elif defined(AFS_AIX_ENV) || defined(AFS_SGI_ENV)
+#define static_inline static
+#else
+#define static_inline static inline
+#endif
+
 #endif /* OPENAFS_CONFIG_AFS_STDS_H */
index 1cfdf98..e7cdefb 100644 (file)
 
 #include "vnode.h"
 
-#ifdef AFS_HPUX_ENV
-#define static_inline static __inline
-#elif defined(AFS_AIX_ENV) || defined(AFS_SGI_ENV)
-#define static_inline static
-#else
-#define static_inline static inline
-#endif
-
 /***************************************************/
 /* demand attach vnode state machine routines      */
 /***************************************************/
index 89f40a6..4883b43 100644 (file)
 
 #include "volume.h"
 
-#ifdef AFS_HPUX_ENV
-#define static_inline static __inline
-#elif defined(AFS_AIX_ENV) || defined(AFS_SGI_ENV)
-#define static_inline static
-#else
-#define static_inline static inline
-#endif
-
-
 /***************************************************/
 /* demand attach fs state machine routines         */
 /***************************************************/