diff mbox

add missing #include "char.h" to char.c

Message ID 20161102171544.17783-1-luc.vanoostenryck@gmail.com (mailing list archive)
State Mainlined, archived
Headers show

Commit Message

Luc Van Oostenryck Nov. 2, 2016, 5:15 p.m. UTC
And so quiets a warning from sparse about undeclared
symbols when running on its own code.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
 char.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Christopher Li Nov. 17, 2016, 8:28 a.m. UTC | #1
On Thu, Nov 3, 2016 at 1:15 AM, Luc Van Oostenryck
<luc.vanoostenryck@gmail.com> wrote:
> And so quiets a warning from sparse about undeclared
> symbols when running on its own code.

Applied.

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/char.c b/char.c
index 9bd3fc0d..e3f6a006 100644
--- a/char.c
+++ b/char.c
@@ -4,6 +4,7 @@ 
 #include "allocate.h"
 #include "token.h"
 #include "expression.h"
+#include "char.h"
 
 static const char *parse_escape(const char *p, unsigned *val, const char *end, int bits, struct position pos)
 {