summaryrefslogtreecommitdiffstats
path: root/contrib/libreadline/keymaps.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-03-19 21:18:09 +0000
committerache <ache@FreeBSD.org>2000-03-19 21:18:09 +0000
commitb85a0e54aedf144ea0dff369289bd3fb6f694f5f (patch)
treed9fcdd0a5e7480e4ba8c47003951584dda5caa6a /contrib/libreadline/keymaps.h
parentdca7ef27e0eae651aa7b31c545c05618183ba64a (diff)
downloadFreeBSD-src-b85a0e54aedf144ea0dff369289bd3fb6f694f5f.zip
FreeBSD-src-b85a0e54aedf144ea0dff369289bd3fb6f694f5f.tar.gz
Initial import of v4.1
Diffstat (limited to 'contrib/libreadline/keymaps.h')
-rw-r--r--contrib/libreadline/keymaps.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/contrib/libreadline/keymaps.h b/contrib/libreadline/keymaps.h
index 5dff46f..3a504fb 100644
--- a/contrib/libreadline/keymaps.h
+++ b/contrib/libreadline/keymaps.h
@@ -7,7 +7,7 @@
The GNU Readline Library is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License
- as published by the Free Software Foundation; either version 1, or
+ as published by the Free Software Foundation; either version 2, or
(at your option) any later version.
The GNU Readline Library is distributed in the hope that it will be
@@ -18,11 +18,15 @@
The GNU General Public License is often shipped with GNU software, and
is generally kept in a file called COPYING or LICENSE. If you do not
have a copy of the license, write to the Free Software Foundation,
- 675 Mass Ave, Cambridge, MA 02139, USA. */
+ 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
#ifndef _KEYMAPS_H_
#define _KEYMAPS_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#if defined (READLINE_LIBRARY)
# include "rlstdc.h"
# include "chardefs.h"
@@ -97,4 +101,8 @@ extern Keymap rl_get_keymap __P((void));
/* Set the current keymap to MAP. */
extern void rl_set_keymap __P((Keymap));
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _KEYMAPS_H_ */
OpenPOWER on IntegriCloud