From owner-svn-src-all@FreeBSD.ORG Fri Aug 6 20:13:36 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B07B106566B; Fri, 6 Aug 2010 20:13:36 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6ED818FC0A; Fri, 6 Aug 2010 20:13:36 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o76KDaZ0019443; Fri, 6 Aug 2010 20:13:36 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o76KDaRf019440; Fri, 6 Aug 2010 20:13:36 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201008062013.o76KDaRf019440@svn.freebsd.org> From: Ed Schouten Date: Fri, 6 Aug 2010 20:13:36 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r210958 - in head: . lib/libcompat lib/libcompat/4.1 lib/libcompat/4.3 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Aug 2010 20:13:36 -0000 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