diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-25 10:55:35 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-25 10:55:35 +0000 |
commit | 80b8b39899a09c7516920cda5fd343b3086d4824 (patch) | |
tree | aa9903fd6b64d19c5f640fa302272d85c92b204e /util-linux/fdisk.c | |
parent | 1399282b47bb218132a554cbe5b2b0ce4dcc055f (diff) | |
download | busybox-w32-80b8b39899a09c7516920cda5fd343b3086d4824.tar.gz busybox-w32-80b8b39899a09c7516920cda5fd343b3086d4824.tar.bz2 busybox-w32-80b8b39899a09c7516920cda5fd343b3086d4824.zip |
Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms <wharms@bfs.de>)
Diffstat (limited to 'util-linux/fdisk.c')
-rw-r--r-- | util-linux/fdisk.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 4ecbadf78..870789112 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -20,8 +20,6 @@ | |||
20 | # define USE_FEATURE_FDISK_BLKSIZE(a) | 20 | # define USE_FEATURE_FDISK_BLKSIZE(a) |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | #define SIZE(a) (sizeof(a)/sizeof((a)[0])) | ||
24 | |||
25 | #define DEFAULT_SECTOR_SIZE 512 | 23 | #define DEFAULT_SECTOR_SIZE 512 |
26 | #define MAX_SECTOR_SIZE 2048 | 24 | #define MAX_SECTOR_SIZE 2048 |
27 | #define SECTOR_SIZE 512 /* still used in osf/sgi/sun code */ | 25 | #define SECTOR_SIZE 512 /* still used in osf/sgi/sun code */ |