pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/tnftp/files/src Rename a function argument to make...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/40bef6ae7bab
branches:  trunk
changeset: 533677:40bef6ae7bab
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Sep 23 16:47:19 2007 +0000

description:
Rename a function argument to make it buildable on certain versions of
NetBSD current. bool should be considered a keyword...

diffstat:

 net/tnftp/files/src/cmds.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 11744e2a566c -r 40bef6ae7bab net/tnftp/files/src/cmds.c
--- a/net/tnftp/files/src/cmds.c        Sun Sep 23 16:25:01 2007 +0000
+++ b/net/tnftp/files/src/cmds.c        Sun Sep 23 16:47:19 2007 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cmds.c,v 1.6 2007/08/07 02:07:01 lukem Exp $   */
+/*     $NetBSD: cmds.c,v 1.7 2007/09/23 16:47:19 joerg Exp $   */
 /*     from    NetBSD: cmds.c,v 1.123 2007/05/24 05:05:18 lukem Exp    */
 
 /*-
@@ -791,10 +791,10 @@
 }
 
 const char *
-onoff(int bool)
+onoff(int truth)
 {
 
-       return (bool ? "on" : "off");
+       return (truth ? "on" : "off");
 }
 
 /*



Home | Main Index | Thread Index | Old Index