From: Nathan Scott Date: Tue, 13 Feb 2001 02:12:29 +0000 (+0000) Subject: sync with kernel header. X-Git-Tag: v1.2.0~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f9fbdf3bbdf9047e7f22ad5e6527878427d33d9;p=thirdparty%2Fxfsprogs-dev.git sync with kernel header. --- 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)