diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-03-20 23:48:28 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-03-20 23:48:28 +0000 |
commit | 96221280867fcc5be32f99ba980f07468713d523 (patch) | |
tree | e9e87ee9ac7950a5acd831c07587a4b682542cfa /lib/libedit/hist.h | |
parent | 03f05bdc3179e384311dc47f75682a01739c2c3f (diff) |
Cleanup of standard header inclusion:
1. Add the missing <errno.h> to sig.c.
2. Do not include standard headers from private headers "chared.h"
and "el.h", include them directly where needed.
3. Delete a few needless inclusions of <ctype.h>.
4. Sort the standard headers.
5. Delete _GNU_SOURCE weirdness from histedit.h, that file doesn't even
need the access to wcsdup(3) mentioned in the comment.
6. Delete some trailing blanks and blanks before tabs.
OK czarkoff@
Diffstat (limited to 'lib/libedit/hist.h')
-rw-r--r-- | lib/libedit/hist.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libedit/hist.h b/lib/libedit/hist.h index 5065743d86e..dc4eb0ae4c8 100644 --- a/lib/libedit/hist.h +++ b/lib/libedit/hist.h @@ -1,5 +1,5 @@ -/* $OpenBSD: hist.h,v 1.11 2016/03/20 22:57:59 schwarze Exp $ */ -/* $NetBSD: hist.h,v 1.17 2016/02/16 15:53:48 christos Exp $ */ +/* $OpenBSD: hist.h,v 1.12 2016/03/20 23:48:27 schwarze Exp $ */ +/* $NetBSD: hist.h,v 1.18 2016/02/17 19:47:49 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -81,7 +81,7 @@ protected int hist_set(EditLine *, hist_fun_t, void *); protected int hist_command(EditLine *, int, const Char **); protected int hist_enlargebuf(EditLine *, size_t, size_t); #ifdef WIDECHAR -protected wchar_t *hist_convert(EditLine *, int, void *); +protected wchar_t *hist_convert(EditLine *, int, void *); #endif #endif /* _h_el_hist */ |