Remove unused code left over from temporary printescaped functionality.
Noted by Jeff Ito in PR bin/23967.
This commit is contained in:
parent
4f80cb6337
commit
420b2ac8ff
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: chio.c,v 1.22 2003/09/14 19:20:17 jschauma Exp $ */
|
||||
/* $NetBSD: chio.c,v 1.23 2004/01/04 03:34:00 jschauma Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1998, 1999 The NetBSD Foundation, Inc.
|
||||
|
@ -46,7 +46,7 @@
|
|||
__COPYRIGHT(
|
||||
"@(#) Copyright (c) 1996, 1998, 1999\
|
||||
The NetBSD Foundation, Inc. All rights reserved.");
|
||||
__RCSID("$NetBSD: chio.c,v 1.22 2003/09/14 19:20:17 jschauma Exp $");
|
||||
__RCSID("$NetBSD: chio.c,v 1.23 2004/01/04 03:34:00 jschauma Exp $");
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -63,13 +63,10 @@ __RCSID("$NetBSD: chio.c,v 1.22 2003/09/14 19:20:17 jschauma Exp $");
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <vis.h>
|
||||
|
||||
#include "defs.h"
|
||||
#include "pathnames.h"
|
||||
|
||||
int stdout_ok;
|
||||
|
||||
int main(int, char *[]);
|
||||
static void usage(void);
|
||||
static void cleanup(void);
|
||||
|
@ -167,8 +164,6 @@ main(int argc, char *argv[])
|
|||
usage();
|
||||
/* NOTREACHED */
|
||||
|
||||
stdout_ok = isatty(STDOUT_FILENO);
|
||||
|
||||
/* Get the default changer if not already specified. */
|
||||
if (changer_name == NULL)
|
||||
if ((changer_name = getenv(CHANGER_ENV_VAR)) == NULL)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: chmod.c,v 1.31 2003/09/14 19:20:17 jschauma Exp $ */
|
||||
/* $NetBSD: chmod.c,v 1.32 2004/01/04 03:34:01 jschauma Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993, 1994
|
||||
|
@ -40,7 +40,7 @@ __COPYRIGHT(
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)chmod.c 8.8 (Berkeley) 4/1/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: chmod.c,v 1.31 2003/09/14 19:20:17 jschauma Exp $");
|
||||
__RCSID("$NetBSD: chmod.c,v 1.32 2004/01/04 03:34:01 jschauma Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -57,9 +57,6 @@ __RCSID("$NetBSD: chmod.c,v 1.31 2003/09/14 19:20:17 jschauma Exp $");
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <vis.h>
|
||||
|
||||
int stdout_ok;
|
||||
|
||||
int main(int, char *[]);
|
||||
void usage(void);
|
||||
|
@ -131,8 +128,6 @@ done: argv += optind;
|
|||
if (argc < 2)
|
||||
usage();
|
||||
|
||||
stdout_ok = isatty(STDOUT_FILENO);
|
||||
|
||||
fts_options = FTS_PHYSICAL;
|
||||
if (Rflag) {
|
||||
if (hflag) {
|
||||
|
|
Loading…
Reference in New Issue