svn commit: r210958 - in head: . lib/libcompat lib/libcompat/4.1 lib/libcompat/4.3

Ed Schouten ed at FreeBSD.org
Fri Aug 6 20:13:36 UTC 2010


Author: ed
Date: Fri Aug  6 20:13:36 2010
New Revision: 210958
URL: http://svn.freebsd.org/changeset/base/210958

Log:
  Remove unneeded functions from libcompat.
  
  Erwin fired up a ports build a couple of weeks ago and it seems the
  following functions are not used by any of the 20k ports we have, which
  makes me believe they don't have any purpose. Just remove them.

Deleted:
  head/lib/libcompat/4.1/ascftime.c
  head/lib/libcompat/4.1/cftime.3
  head/lib/libcompat/4.1/cftime.c
  head/lib/libcompat/4.1/getpw.3
  head/lib/libcompat/4.1/getpw.c
  head/lib/libcompat/4.3/cfree.3
  head/lib/libcompat/4.3/cfree.c
Modified:
  head/ObsoleteFiles.inc
  head/lib/libcompat/Makefile

Modified: head/ObsoleteFiles.inc
==============================================================================
--- head/ObsoleteFiles.inc	Fri Aug  6 19:35:40 2010	(r210957)
+++ head/ObsoleteFiles.inc	Fri Aug  6 20:13:36 2010	(r210958)
@@ -14,6 +14,11 @@
 # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last.
 #
 
+# 20100806: removal of unused libcompat routines
+OLD_FILES+=usr/share/man/man3/ascftime.3.gz
+OLD_FILES+=usr/share/man/man3/cfree.3.gz
+OLD_FILES+=usr/share/man/man3/cftime.3.gz
+OLD_FILES+=usr/share/man/man3/getpw.3.gz
 # 20100725: acpi_aiboost(4) removal.
 OLD_FILES+=usr/share/man/man4/acpi_aiboost.4.gz
 # 20100720: new clang import which bumps version from 2.0 to 2.8

Modified: head/lib/libcompat/Makefile
==============================================================================
--- head/lib/libcompat/Makefile	Fri Aug  6 19:35:40 2010	(r210957)
+++ head/lib/libcompat/Makefile	Fri Aug  6 20:13:36 2010	(r210958)
@@ -10,17 +10,14 @@ WARNS?=	0
 .PATH:	${.CURDIR}/4.1 ${.CURDIR}/4.3 ${.CURDIR}/4.4
 
 # compat 4.1 sources
-SRCS+=	ascftime.c cftime.c ftime.c getpw.c
+SRCS+=	ftime.c
 
-MAN+=	4.1/ftime.3 4.1/getpw.3
-MAN+=	4.1/cftime.3
-
-MLINKS+=cftime.3 ascftime.3
+MAN+=	4.1/ftime.3
 
 # compat 4.3 sources
-SRCS+=	cfree.c re_comp.c rexec.c
+SRCS+=	re_comp.c rexec.c
 
-MAN+=	4.3/cfree.3 4.3/re_comp.3 4.3/rexec.3
+MAN+=	4.3/re_comp.3 4.3/rexec.3
 
 MLINKS+=re_comp.3 re_exec.3
 


More information about the svn-src-all mailing list