From: Robert Spalek Date: Mon, 5 Mar 2001 09:37:32 +0000 (+0000) Subject: obuck_size() deleted X-Git-Tag: holmes-import~1527 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=dd4dbaf87958b0b6d49dd8e58c0d3b9f0a421fd2;p=libucw.git obuck_size() deleted --- diff --git a/lib/bucket.c b/lib/bucket.c index 5f75d1cf..5799d6e5 100644 --- a/lib/bucket.c +++ b/lib/bucket.c @@ -152,12 +152,6 @@ obuck_sync(void) fsync(obuck_fd); } -sh_off_t -obuck_size(void) -{ - return sh_seek(obuck_fd, 0, SEEK_END); -} - static void obuck_get(oid_t oid) { diff --git a/lib/bucket.h b/lib/bucket.h index 73ceafaf..f99baae9 100644 --- a/lib/bucket.h +++ b/lib/bucket.h @@ -39,7 +39,6 @@ struct fastbuf; void obuck_init(int writeable); /* Initialize the bucket module */ void obuck_cleanup(void); /* Clean up the bucket module */ void obuck_sync(void); /* Flush all buffers to disk */ -sh_off_t obuck_size(void); /* Returns current size of bucket file */ /* Searching for buckets */ void obuck_find_by_oid(struct obuck_header *hdrp);