Include stdbool.h in headers which have functions with bool in signature

Done by manual inspecting of the output of this script:
grep -r -l -w "bool" * | grep 'c$' | sed 's/.c$//' > has_bool
grep -r -l -w "stdbool.h" * | grep 'h$' | sed 's/.h$//' > has_include
grep -F -x -v -f has_include has_bool
This commit is contained in:
Pavel Platto
2014-07-09 10:17:21 +03:00
committed by Justin M. Keyes
parent 1de9287a02
commit add8cb784c
7 changed files with 13 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
#ifndef NVIM_STRINGS_H
#define NVIM_STRINGS_H
#include <stdbool.h>
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "strings.h.generated.h"
#endif