terminfo: add header guard, stdint.h for int8_t (#8848)

Lint fixes for single-include test.
This commit is contained in:
Jan Edmund Lazo 2018-08-11 10:06:57 -04:00 committed by Justin M. Keyes
parent c30812be7b
commit 6aefae8c4e
2 changed files with 16 additions and 2 deletions

View File

@ -61,8 +61,13 @@ cat > "$target" <<EOF
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
//
// This file got generated by scripts/update_terminfo.sh and $(tic -V)
// Generated by scripts/update_terminfo.sh and $(tic -V)
//
#ifndef NVIM_TUI_TERMINFO_DEFS_H
#define NVIM_TUI_TERMINFO_DEFS_H
#include <stdint.h>
EOF
for term in $sorted_terms; do
@ -78,4 +83,7 @@ for term in $sorted_terms; do
echo "};"
done >> "$target"
cat > "$target" <<EOF
#endif // NVIM_TUI_TERMINFO_DEFS_H
EOF
print_bold 'done\n'

File diff suppressed because one or more lines are too long