diff options
author | pfg <pfg@FreeBSD.org> | 2012-07-26 15:48:07 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2012-07-26 15:48:07 +0000 |
commit | b54693d6988f72c068a2bf4fe22d787b5ffe2b88 (patch) | |
tree | 86dfddfd6c669ad246b3c1eb40d061abf5cc36d7 /lib/libedit/histedit.h | |
parent | dcf3898747d71456dfeea167cdaa723c9368ba2f (diff) | |
download | FreeBSD-src-b54693d6988f72c068a2bf4fe22d787b5ffe2b88.zip FreeBSD-src-b54693d6988f72c068a2bf4fe22d787b5ffe2b88.tar.gz |
Drop non-portable libedit's el_data_set() and el_data_get() for
private data.
We can set/get private data with the documented el_get() and
el_set() so there's no need for our local extensions, which
never received much use anyway.
While here, also re-arrange the call to term_init_arrow. This
was left over from r89735 but is not required anymore.
This changes reduce differences against NetBSD's libedit.
MFC after: 2 months
Diffstat (limited to 'lib/libedit/histedit.h')
-rw-r--r-- | lib/libedit/histedit.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libedit/histedit.h b/lib/libedit/histedit.h index 24af1d5..8a6caf9 100644 --- a/lib/libedit/histedit.h +++ b/lib/libedit/histedit.h @@ -154,13 +154,6 @@ int el_source(EditLine *, const char *); */ void el_resize(EditLine *); - -/* - * Set user private data. - */ -void el_data_set(EditLine *, void *); -void * el_data_get(EditLine *); - /* * User-defined function interface. */ |