Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/nvi/dist/common remove CONST; it is unused from...



details:   https://anonhg.NetBSD.org/src/rev/c1ea486c1171
branches:  trunk
changeset: 342745:c1ea486c1171
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jan 07 14:07:01 2016 +0000

description:
remove CONST; it is unused from Brad Harder

diffstat:

 external/bsd/nvi/dist/common/key.h |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r fbb70b9970fb -r c1ea486c1171 external/bsd/nvi/dist/common/key.h
--- a/external/bsd/nvi/dist/common/key.h        Thu Jan 07 13:54:08 2016 +0000
+++ b/external/bsd/nvi/dist/common/key.h        Thu Jan 07 14:07:01 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: key.h,v 1.2 2013/11/22 15:52:05 christos Exp $ */
+/*     $NetBSD: key.h,v 1.3 2016/01/07 14:07:01 christos Exp $ */
 /*-
  * Copyright (c) 1991, 1993, 1994
  *     The Regents of the University of California.  All rights reserved.
@@ -25,7 +25,6 @@
     sp->conv.int2sys(sp, w, wlen, &sp->wp->cw, &nlen, &n)
 #define INPUT2INT5(sp,cw,n,nlen,w,wlen)                                            \
     sp->conv.input2int(sp, n, nlen, &(cw), &wlen, &w)
-#define CONST
 #define INTISWIDE(c)   (wctob(c) == EOF)           /* XXX wrong name */
 #define CHAR_WIDTH(sp, ch)  wcwidth(ch)
 #else
@@ -41,7 +40,6 @@
     (n = w, nlen = wlen, 0)
 #define INPUT2INT5(sp,buf,n,nlen,w,wlen) \
     (w = n, wlen = nlen, 0)
-#define CONST const
 #define INTISWIDE(c)       0
 #define CHAR_WIDTH(sp, ch)  1
 #endif



Home | Main Index | Thread Index | Old Index