summaryrefslogtreecommitdiff
path: root/e2fsprogs/e2fsck.h
diff options
context:
space:
mode:
authorRob Landley2006-09-11 01:34:21 +0000
committerRob Landley2006-09-11 01:34:21 +0000
commit49ea46667ffbaac7d3dc26f49720b98d4ac19af8 (patch)
treea955f5ced33678da1bc2545210196332bc6dd598 /e2fsprogs/e2fsck.h
parent69674941ddf3a522772d4d9709b302e80bc6719e (diff)
downloadbusybox-49ea46667ffbaac7d3dc26f49720b98d4ac19af8.zip
busybox-49ea46667ffbaac7d3dc26f49720b98d4ac19af8.tar.gz
Build fixes for gcc 4.0 with -Werror, from Tito.
Diffstat (limited to 'e2fsprogs/e2fsck.h')
-rw-r--r--e2fsprogs/e2fsck.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/e2fsprogs/e2fsck.h b/e2fsprogs/e2fsck.h
index 52db828..e520632 100644
--- a/e2fsprogs/e2fsck.h
+++ b/e2fsprogs/e2fsck.h
@@ -629,12 +629,7 @@ struct e2fsck_struct {
};
-
-static inline int tid_gt(tid_t x, tid_t y)
-{
- int difference = (x - y);
- return (difference > 0);
-}
+#define tid_gt(x, y) ((x - y) > 0)
static inline int tid_geq(tid_t x, tid_t y)
{