From a7fd6646a7bcf0d1e81230d7c391737e9b2c05f0 Mon Sep 17 00:00:00 2001 From: pooka Date: Sun, 6 Jun 2004 13:37:16 +0000 Subject: [PATCH] make this compile without NO_STATUS fixes bin/25842 by Jukka Salmi --- usr.bin/ftp/cmds.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/usr.bin/ftp/cmds.c b/usr.bin/ftp/cmds.c index 443aebc823e9..eb8cccf5a44a 100644 --- a/usr.bin/ftp/cmds.c +++ b/usr.bin/ftp/cmds.c @@ -1,4 +1,4 @@ -/* $NetBSD: cmds.c,v 1.103 2004/06/06 01:37:41 christos Exp $ */ +/* $NetBSD: cmds.c,v 1.104 2004/06/06 13:37:16 pooka Exp $ */ /*- * Copyright (c) 1996-2002 The NetBSD Foundation, Inc. @@ -103,7 +103,7 @@ #if 0 static char sccsid[] = "@(#)cmds.c 8.6 (Berkeley) 10/9/94"; #else -__RCSID("$NetBSD: cmds.c,v 1.103 2004/06/06 01:37:41 christos Exp $"); +__RCSID("$NetBSD: cmds.c,v 1.104 2004/06/06 13:37:16 pooka Exp $"); #endif #endif /* not lint */ @@ -773,7 +773,6 @@ onoff(int bool) void status(int argc, char *argv[]) { - int i; if (argc == 0) { fprintf(ttyout, "usage: %s\n", argv[0]); @@ -845,6 +844,8 @@ status(int argc, char *argv[]) #endif /* !def NO_EDITCOMPLETE */ ); if (macnum > 0) { + int i; + fputs("Macros:\n", ttyout); for (i=0; i