aboutsummaryrefslogtreecommitdiff
path: root/lib/libstand
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2010-03-18 00:27:17 +0000
committerXin LI <delphij@FreeBSD.org>2010-03-18 00:27:17 +0000
commitf379d0f7f51eb0e6abc276f416dd3f733a3883e5 (patch)
tree71cf1bd6e45a0fdc35729eae149c320a8061fdba /lib/libstand
parent78f3ac9cdb51996b45d35b45c903e557aed8c7c1 (diff)
downloadsrc-f379d0f7f51eb0e6abc276f416dd3f733a3883e5.tar.gz
src-f379d0f7f51eb0e6abc276f416dd3f733a3883e5.zip
Remove two pieces of code (one disabled in revision 39665 and another derived
from the first one) that is not used for the last 12 years.
Notes
Notes: svn path=/head/; revision=205273
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/bzipfs.c8
-rw-r--r--lib/libstand/gzipfs.c8
2 files changed, 0 insertions, 16 deletions
diff --git a/lib/libstand/bzipfs.c b/lib/libstand/bzipfs.c
index 1b2e9ebff13f..b0176080dad2 100644
--- a/lib/libstand/bzipfs.c
+++ b/lib/libstand/bzipfs.c
@@ -81,14 +81,6 @@ struct fs_ops bzipfs_fsops = {
};
#endif
-#if 0
-void *
-calloc(int items, size_t size)
-{
- return(malloc(items * size));
-}
-#endif
-
static int
bzf_fill(struct bz_file *bzf)
{
diff --git a/lib/libstand/gzipfs.c b/lib/libstand/gzipfs.c
index 9ff7985636b5..9b51e2d04327 100644
--- a/lib/libstand/gzipfs.c
+++ b/lib/libstand/gzipfs.c
@@ -62,14 +62,6 @@ struct fs_ops gzipfs_fsops = {
null_readdir
};
-#if 0
-void *
-calloc(int items, size_t size)
-{
- return(malloc(items * size));
-}
-#endif
-
static int
zf_fill(struct z_file *zf)
{