Source-Changes-HG archive

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

[src/netbsd-1-4]: src/libexec/telnetd Pull up revision 1.13 (requested by is):



details:   https://anonhg.NetBSD.org/src/rev/a16c38135cf1
branches:  netbsd-1-4
changeset: 470974:a16c38135cf1
user:      he <he%NetBSD.org@localhost>
date:      Tue Oct 10 21:48:19 2000 +0000

description:
Pull up revision 1.13 (requested by is):
  Format string cleanup.

diffstat:

 libexec/telnetd/state.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r 47ac3dcaf627 -r a16c38135cf1 libexec/telnetd/state.c
--- a/libexec/telnetd/state.c   Tue Oct 10 21:48:14 2000 +0000
+++ b/libexec/telnetd/state.c   Tue Oct 10 21:48:19 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: state.c,v 1.11 1997/10/08 08:45:11 mrg Exp $   */
+/*     $NetBSD: state.c,v 1.11.4.1 2000/10/10 21:48:19 he Exp $        */
 
 /*
  * Copyright (c) 1989, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)state.c    8.5 (Berkeley) 5/30/95";
 #else
-__RCSID("$NetBSD: state.c,v 1.11 1997/10/08 08:45:11 mrg Exp $");
+__RCSID("$NetBSD: state.c,v 1.11.4.1 2000/10/10 21:48:19 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -49,10 +49,10 @@
 
 static int envvarok __P((char *));
 
-unsigned char  doopt[] = { IAC, DO, '%', 'c', 0 };
-unsigned char  dont[] = { IAC, DONT, '%', 'c', 0 };
-unsigned char  will[] = { IAC, WILL, '%', 'c', 0 };
-unsigned char  wont[] = { IAC, WONT, '%', 'c', 0 };
+unsigned const char    doopt[] = { IAC, DO, '%', 'c', 0 };
+unsigned const char    dont[] = { IAC, DONT, '%', 'c', 0 };
+unsigned const char    will[] = { IAC, WILL, '%', 'c', 0 };
+unsigned const char    wont[] = { IAC, WONT, '%', 'c', 0 };
 int    not42 = 1;
 
 /*



Home | Main Index | Thread Index | Old Index