Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/pkg_install/lib #if 0 out unused functions.



details:   https://anonhg.NetBSD.org/src/rev/8c75fcdd64b7
branches:  trunk
changeset: 534200:8c75fcdd64b7
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sat Jul 20 05:40:55 2002 +0000

description:
#if 0 out unused functions.

diffstat:

 usr.sbin/pkg_install/lib/pen.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r a59335acb001 -r 8c75fcdd64b7 usr.sbin/pkg_install/lib/pen.c
--- a/usr.sbin/pkg_install/lib/pen.c    Sat Jul 20 04:59:47 2002 +0000
+++ b/usr.sbin/pkg_install/lib/pen.c    Sat Jul 20 05:40:55 2002 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: pen.c,v 1.20 2002/07/19 19:04:42 yamt Exp $    */
+/*     $NetBSD: pen.c,v 1.21 2002/07/20 05:40:55 yamt Exp $    */
 
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static const char *rcsid = "from FreeBSD Id: pen.c,v 1.25 1997/10/08 07:48:12 charnier Exp";
 #else
-__RCSID("$NetBSD: pen.c,v 1.20 2002/07/19 19:04:42 yamt Exp $");
+__RCSID("$NetBSD: pen.c,v 1.21 2002/07/20 05:40:55 yamt Exp $");
 #endif
 #endif
 
@@ -43,6 +43,7 @@
                                 * to prevent rm'ing of a partial string
                                 * when interrupted by ^C */
 
+#if 0
 /*
  * Backup Current and Previous into temp. strings that are later
  * restored & freed by restore_dirs
@@ -71,6 +72,7 @@
        strcpy(Previous, p);
        free(p);
 }
+#endif
 
 char   *
 where_playpen(void)



Home | Main Index | Thread Index | Old Index