svn commit: r205273 - head/lib/libstand

Xin LI delphij at FreeBSD.org
Thu Mar 18 00:27:18 UTC 2010


Author: delphij
Date: Thu Mar 18 00:27:17 2010
New Revision: 205273
URL: http://svn.freebsd.org/changeset/base/205273

Log:
  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.

Modified:
  head/lib/libstand/bzipfs.c
  head/lib/libstand/gzipfs.c

Modified: head/lib/libstand/bzipfs.c
==============================================================================
--- head/lib/libstand/bzipfs.c	Thu Mar 18 00:23:39 2010	(r205272)
+++ head/lib/libstand/bzipfs.c	Thu Mar 18 00:27:17 2010	(r205273)
@@ -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)
 {

Modified: head/lib/libstand/gzipfs.c
==============================================================================
--- head/lib/libstand/gzipfs.c	Thu Mar 18 00:23:39 2010	(r205272)
+++ head/lib/libstand/gzipfs.c	Thu Mar 18 00:27:17 2010	(r205273)
@@ -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)
 {


More information about the svn-src-head mailing list