summaryrefslogtreecommitdiff
path: root/gfio.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2012-03-21 14:07:11 +0100
committerJens Axboe <axboe@kernel.dk>2012-03-21 14:07:11 +0100
commit057754389863aa18cbf36b1f2a556a422ea2f4b5 (patch)
treef8f8d3ba7ed41bac608749ab7d0637e37dfc7015 /gfio.h
parent0deba507cd01601fcce4fb861b9aa6d4971dfd1a (diff)
Move rbtree into lib/
And make ARRAY_SIZE() generally available, also outside gfio. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'gfio.h')
-rw-r--r--gfio.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gfio.h b/gfio.h
index dd4ee3d..71b2db7 100644
--- a/gfio.h
+++ b/gfio.h
@@ -144,8 +144,6 @@ struct gfio_client {
unsigned int nr_du;
};
-#define ARRAYSIZE(x) (sizeof((x)) / (sizeof((x)[0])))
-
#define GFIO_MIME "text/fio"
extern void gfio_view_log(struct gui *ui);