]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
sync with kernel header.
authorNathan Scott <nathans@sgi.com>
Tue, 13 Feb 2001 02:12:29 +0000 (02:12 +0000)
committerNathan Scott <nathans@sgi.com>
Tue, 13 Feb 2001 02:12:29 +0000 (02:12 +0000)
include/xfs_log.h

index c333cefc42966f4468de0f286a61bb2dd8503358..40eb015039c02b9efb3d1bc28ca3756ee9f04011 100644 (file)
  * 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)<CYCLE_LSN(lsn2, arch))? -999 : 999;