Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit/readline Avoid pre-ansi warning.
details: https://anonhg.NetBSD.org/src/rev/7a8ca82f0fa2
branches: trunk
changeset: 551970:7a8ca82f0fa2
user: christos <christos%NetBSD.org@localhost>
date: Sun Sep 14 21:55:19 2003 +0000
description:
Avoid pre-ansi warning.
diffstat:
lib/libedit/readline/readline.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r aeb0d8e910aa -r 7a8ca82f0fa2 lib/libedit/readline/readline.h
--- a/lib/libedit/readline/readline.h Sun Sep 14 21:49:58 2003 +0000
+++ b/lib/libedit/readline/readline.h Sun Sep 14 21:55:19 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: readline.h,v 1.3 2003/09/14 21:48:55 christos Exp $ */
+/* $NetBSD: readline.h,v 1.4 2003/09/14 21:55:19 christos Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -70,10 +70,10 @@
#define control_character_bit 0x40
#ifndef CTRL
-#define CTRL(a) ((a) & 037)
+#define CTRL(c) ((c) & 037)
#endif
#ifndef UNCTRL
-#define UNCTRL(a) (((a) - 'a' + 'A')|control_character_bit)
+#define UNCTRL(c) (((c) - 'a' + 'A')|control_character_bit)
#endif
#define RUBOUT 0x7f
Home |
Main Index |
Thread Index |
Old Index