From 96221280867fcc5be32f99ba980f07468713d523 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 20 Mar 2016 23:48:28 +0000 Subject: Cleanup of standard header inclusion: 1. Add the missing 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 . 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@ --- lib/libedit/sig.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libedit/sig.c') diff --git a/lib/libedit/sig.c b/lib/libedit/sig.c index fd925ac6351..8dcd5b9caef 100644 --- a/lib/libedit/sig.c +++ b/lib/libedit/sig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sig.c,v 1.17 2016/03/20 22:57:59 schwarze Exp $ */ +/* $OpenBSD: sig.c,v 1.18 2016/03/20 23:48:27 schwarze Exp $ */ /* $NetBSD: sig.c,v 1.24 2016/02/16 19:08:41 christos Exp $ */ /*- @@ -40,6 +40,7 @@ * our policy is to trap all signals, set a good state * and pass the ball to our caller. */ +#include #include #include "el.h" -- cgit v1.2.3