mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
terminfo: add header guard, stdint.h for int8_t (#8848)
Lint fixes for single-include test.
This commit is contained in:
parent
c30812be7b
commit
6aefae8c4e
@ -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
Loading…
Reference in New Issue
Block a user