Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/compat/osf1 Pull up revision 1.56 (requested by Jas...



details:   https://anonhg.NetBSD.org/src/rev/c55349e3359d
branches:  netbsd-1-5
changeset: 488554:c55349e3359d
user:      enami <enami%NetBSD.org@localhost>
date:      Mon Jul 17 22:47:56 2000 +0000

description:
Pull up revision 1.56 (requested by Jason R. Thorpe):
date: 2000/07/17 04:04:02;  author: enami;  state: Exp;  lines: +3 -2
Define an auto variable ``cp'', which is used to scan the global variable
``version'', as const char * instead of char * to prevent compiler warning.

diffstat:

 sys/compat/osf1/osf1_misc.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 0997009df2ff -r c55349e3359d sys/compat/osf1/osf1_misc.c
--- a/sys/compat/osf1/osf1_misc.c       Mon Jul 17 19:55:50 2000 +0000
+++ b/sys/compat/osf1/osf1_misc.c       Mon Jul 17 22:47:56 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_misc.c,v 1.54 2000/06/06 19:04:18 soren Exp $ */
+/* $NetBSD: osf1_misc.c,v 1.54.2.1 2000/07/17 22:47:56 enami Exp $ */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -240,7 +240,8 @@
 {
        struct osf1_sys_uname_args *uap = v;
         struct osf1_utsname u;
-        char *cp, *dp, *ep;
+        const char *cp;
+        char *dp, *ep;
 
        /* XXX would use stackgap, but our struct utsname is too big! */
 



Home | Main Index | Thread Index | Old Index