From 8f9fbdf3bbdf9047e7f22ad5e6527878427d33d9 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Tue, 13 Feb 2001 02:12:29 +0000 Subject: [PATCH] sync with kernel header. --- include/xfs_log.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/xfs_log.h b/include/xfs_log.h index c333cefc4..40eb01503 100644 --- a/include/xfs_log.h +++ b/include/xfs_log.h @@ -50,7 +50,13 @@ * By comparing each compnent, we don't have to worry about extra * endian issues in treating two 32 bit numbers as one 64 bit number */ -static inline xfs_lsn_t _lsn_cmp(xfs_lsn_t lsn1, xfs_lsn_t lsn2, xfs_arch_t arch) +static +#ifdef __GNUC__ +# if !((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) +__inline__ +#endif +#endif +xfs_lsn_t _lsn_cmp(xfs_lsn_t lsn1, xfs_lsn_t lsn2, xfs_arch_t arch) { if (CYCLE_LSN(lsn1, arch) != CYCLE_LSN(lsn2, arch)) return (CYCLE_LSN(lsn1, arch)