From cf25235c9be0863486788bf1e4b6dbde3c6f5476 Mon Sep 17 00:00:00 2001 From: martin Date: Sat, 5 May 2007 18:09:24 +0000 Subject: const-as-const-can: make the "suffixes" pointers const, as probably was intended, but done wrong originally (redundant const was removed per PR bin/36280) --- progressbar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/progressbar.c b/progressbar.c index 91a3069..b9345cf 100644 --- a/progressbar.c +++ b/progressbar.c @@ -1,4 +1,4 @@ -/* $NetBSD: progressbar.c,v 1.16 2007/05/05 16:57:54 christos Exp $ */ +/* $NetBSD: progressbar.c,v 1.17 2007/05/05 18:09:24 martin Exp $ */ /*- * Copyright (c) 1997-2007 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #include #ifndef lint -__RCSID("$NetBSD: progressbar.c,v 1.16 2007/05/05 16:57:54 christos Exp $"); +__RCSID("$NetBSD: progressbar.c,v 1.17 2007/05/05 18:09:24 martin Exp $"); #endif /* not lint */ /* @@ -93,7 +93,7 @@ updateprogressmeter(int dummy) /* * List of order of magnitude suffixes, per IEC 60027-2. */ -static const char *suffixes[] = { +static const char * const suffixes[] = { "", /* 2^0 (byte) */ "KiB", /* 2^10 Kibibyte */ "MiB", /* 2^20 Mebibyte */ -- cgit v1.2.3-56-ge451