Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/user Fix build problem probably caused by some tool...



details:   https://anonhg.NetBSD.org/src/rev/651f09bbd0bb
branches:  trunk
changeset: 533771:651f09bbd0bb
user:      tron <tron%NetBSD.org@localhost>
date:      Tue Jul 09 10:34:16 2002 +0000

description:
Fix build problem probably caused by some toolchain change.

diffstat:

 usr.sbin/user/main.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r fb2822088137 -r 651f09bbd0bb usr.sbin/user/main.c
--- a/usr.sbin/user/main.c      Tue Jul 09 10:14:18 2002 +0000
+++ b/usr.sbin/user/main.c      Tue Jul 09 10:34:16 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.2 2001/02/19 23:22:49 cgd Exp $ */
+/* $NetBSD: main.c,v 1.3 2002/07/09 10:34:16 tron Exp $ */
 
 /*
  * Copyright (c) 1999 Alistair G. Crooks.  All rights reserved.
@@ -44,9 +44,9 @@
 
 /* this struct describes a command */
 typedef struct cmd_t {
-       int     c_wc;                                   /* word count */
-       char    *c_word[MaxCmdWords];                   /* command words */
-       int     (*c_func)(int argc, char **argv);       /* called function */
+       int             c_wc;                           /* word count */
+       const char      *c_word[MaxCmdWords];           /* command words */
+       int             (*c_func)(int, char **);        /* called function */
 } cmd_t;
 
 /* despatch table for commands */



Home | Main Index | Thread Index | Old Index