diff options
| author | christos <christos@NetBSD.org> | 2016-02-16 15:53:48 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2016-02-16 15:53:48 +0000 |
| commit | af0ffa531c48e0833e330607caa18360fc09fc9a (patch) | |
| tree | 2be65e167191442b9c5a367fa99555f4d9b4fc09 /lib/libedit/refresh.c | |
| parent | 7a82ed4a7d78cfb213d3da53cafd833ea5a38040 (diff) | |
From Ingo Scharze:
Let "el.h" include everything needed for struct editline,
and don't include that stuff multiple times. That also improves
consistency, also avoids circular inclusions, and also makes it
easier to follow what is going on, even though not quite as nice.
But it seems like the best we can do...
Diffstat (limited to 'lib/libedit/refresh.c')
| -rw-r--r-- | lib/libedit/refresh.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libedit/refresh.c b/lib/libedit/refresh.c index fb9ed990aa5..06969515d9d 100644 --- a/lib/libedit/refresh.c +++ b/lib/libedit/refresh.c @@ -1,4 +1,4 @@ -/* $NetBSD: refresh.c,v 1.41 2016/02/16 14:08:25 christos Exp $ */ +/* $NetBSD: refresh.c,v 1.42 2016/02/16 15:53:48 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)refresh.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: refresh.c,v 1.41 2016/02/16 14:08:25 christos Exp $"); +__RCSID("$NetBSD: refresh.c,v 1.42 2016/02/16 15:53:48 christos Exp $"); #endif #endif /* not lint && not SCCSID */ @@ -49,8 +49,6 @@ __RCSID("$NetBSD: refresh.c,v 1.41 2016/02/16 14:08:25 christos Exp $"); #include <unistd.h> #include <string.h> -#include "histedit.h" -#include "chartype.h" #include "el.h" private void re_nextline(EditLine *); |
