Source-Changes-HG archive

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

[src/netbsd-3]: src/usr.bin/ftp Pull up revision 1.72 (requested by lukem in ...



details:   https://anonhg.NetBSD.org/src/rev/abe0048dc44d
branches:  netbsd-3
changeset: 576781:abe0048dc44d
user:      tron <tron%NetBSD.org@localhost>
date:      Sun Jul 24 10:33:02 2005 +0000

description:
Pull up revision 1.72 (requested by lukem in ticket #606):
Add NO_USAGE and NO_DEBUG so that we can fit in the floppies again.

diffstat:

 usr.bin/ftp/ftp_var.h |  17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r ad357f0ddc8f -r abe0048dc44d usr.bin/ftp/ftp_var.h
--- a/usr.bin/ftp/ftp_var.h     Sun Jul 24 10:32:53 2005 +0000
+++ b/usr.bin/ftp/ftp_var.h     Sun Jul 24 10:33:02 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ftp_var.h,v 1.69.2.2 2005/05/09 17:05:55 tron Exp $    */
+/*     $NetBSD: ftp_var.h,v 1.69.2.3 2005/07/24 10:33:02 tron Exp $    */
 
 /*-
  * Copyright (c) 1996-2005 The NetBSD Foundation, Inc.
@@ -335,3 +335,18 @@
 #else
 # define STRTOLL(x,y,z)        strtoll(x,y,z)
 #endif
+
+#ifdef NO_DEBUG
+#define DPRINTF(...)
+#define DWARN(...)
+#else
+#define DPRINTF(...)   if (debug) (void)fprintf(ttyout, __VA_ARGS__)
+#define DWARN(...) if (debug) warn(__VA_ARGS__)
+#endif
+
+#ifdef NO_USAGE
+void xusage(void);
+#define UPRINTF(...)   xusage()
+#else
+#define UPRINTF(...)   (void)fprintf(ttyout, __VA_ARGS__)
+#endif



Home | Main Index | Thread Index | Old Index