Source-Changes-HG archive

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

[src/trunk]: src/dist/am-utils/amq if we're going to declare it, at least mak...



details:   https://anonhg.NetBSD.org/src/rev/994b2a757cd3
branches:  trunk
changeset: 512699:994b2a757cd3
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Jul 14 04:49:57 2001 +0000

description:
if we're going to declare it, at least make sure sys_nerr is `const'.

diffstat:

 dist/am-utils/amq/amq.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c83024336387 -r 994b2a757cd3 dist/am-utils/amq/amq.c
--- a/dist/am-utils/amq/amq.c   Sat Jul 14 03:18:33 2001 +0000
+++ b/dist/am-utils/amq/amq.c   Sat Jul 14 04:49:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: amq.c,v 1.1.1.4 2001/05/13 17:50:15 veego Exp $        */
+/*     $NetBSD: amq.c,v 1.2 2001/07/14 04:49:57 mrg Exp $      */
 
 /*
  * Copyright (c) 1997-2001 Erez Zadok
@@ -253,7 +253,7 @@
               mi->mi_up > 0 ? "up" :
               mi->mi_up < 0 ? "starting" : "down");
        if (mi->mi_error > 0) {
-         extern int sys_nerr;
+         extern const int sys_nerr;
          if (mi->mi_error < sys_nerr)
 #ifdef HAVE_STRERROR
            printf(" (%s)", strerror(mi->mi_error));



Home | Main Index | Thread Index | Old Index