Source-Changes-HG archive

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

[src/trunk]: src/include Change __aconst to const so I can compile systat and...



details:   https://anonhg.NetBSD.org/src/rev/a57a116d1bf5
branches:  trunk
changeset: 574331:a57a116d1bf5
user:      dsl <dsl%NetBSD.org@localhost>
date:      Sat Feb 26 21:16:35 2005 +0000

description:
Change __aconst to const so I can compile systat and vmstat with WARNS=3

diffstat:

 include/nlist.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0adc4d959b9e -r a57a116d1bf5 include/nlist.h
--- a/include/nlist.h   Sat Feb 26 21:13:56 2005 +0000
+++ b/include/nlist.h   Sat Feb 26 21:16:35 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nlist.h,v 1.12 2005/02/03 04:39:32 perry Exp $ */
+/*     $NetBSD: nlist.h,v 1.13 2005/02/26 21:16:35 dsl Exp $   */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -52,7 +52,7 @@
                long n_strx;            /* file string table offset (on disk) */
        } n_un;
 #else
-       __aconst char *n_name;          /* symbol name (in memory) */
+       const char *n_name;             /* symbol name (in memory) */
 #endif
 
 #define        N_UNDF  0x00            /* undefined */



Home | Main Index | Thread Index | Old Index