From 7cb71b749c8a348efbd7a72d42b09ce7cd13f838 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 12 May 2002 20:00:21 +0000 Subject: Remove #define for BBOFF, it is assumed == 0 so many places that we might as well forget about it. In fact the only thing which used it was the SBOFF macro. Sponsored by: DARPA & NAI Labs. --- sys/gnu/ext2fs/fs.h | 3 +-- sys/gnu/fs/ext2fs/fs.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'sys/gnu') diff --git a/sys/gnu/ext2fs/fs.h b/sys/gnu/ext2fs/fs.h index 311a0c345a871..736051143918c 100644 --- a/sys/gnu/ext2fs/fs.h +++ b/sys/gnu/ext2fs/fs.h @@ -57,8 +57,7 @@ */ #define BBSIZE 1024 #define SBSIZE 1024 -#define BBOFF ((off_t)(0)) -#define SBOFF ((off_t)(BBOFF + BBSIZE)) +#define SBOFF ((off_t)(BBSIZE)) /* * The path name on which the file system is mounted is maintained diff --git a/sys/gnu/fs/ext2fs/fs.h b/sys/gnu/fs/ext2fs/fs.h index 311a0c345a871..736051143918c 100644 --- a/sys/gnu/fs/ext2fs/fs.h +++ b/sys/gnu/fs/ext2fs/fs.h @@ -57,8 +57,7 @@ */ #define BBSIZE 1024 #define SBSIZE 1024 -#define BBOFF ((off_t)(0)) -#define SBOFF ((off_t)(BBOFF + BBSIZE)) +#define SBOFF ((off_t)(BBSIZE)) /* * The path name on which the file system is mounted is maintained -- cgit v1.3