mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
terminfo: add header guard, stdint.h for int8_t (#8848)
Lint fixes for single-include test.
This commit is contained in:

committed by
Justin M. Keyes

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
|
// 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
|
EOF
|
||||||
|
|
||||||
for term in $sorted_terms; do
|
for term in $sorted_terms; do
|
||||||
@@ -78,4 +83,7 @@ for term in $sorted_terms; do
|
|||||||
echo "};"
|
echo "};"
|
||||||
done >> "$target"
|
done >> "$target"
|
||||||
|
|
||||||
|
cat > "$target" <<EOF
|
||||||
|
#endif // NVIM_TUI_TERMINFO_DEFS_H
|
||||||
|
EOF
|
||||||
print_bold 'done\n'
|
print_bold 'done\n'
|
||||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user