aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2018-03-11 17:23:27 -0400
committerJames McCoy <jamessan@jamessan.com>2018-03-11 17:24:09 -0400
commit8bd1bbcec817443b20870d5220063c363ce7edb8 (patch)
treedcccceedad38fe8471704e86134716b4165b47e7
parentc7f95fde1bb1d1a245ad015be10aa4d23fc48899 (diff)
downloadrneovim-8bd1bbcec817443b20870d5220063c363ce7edb8.tar.gz
rneovim-8bd1bbcec817443b20870d5220063c363ce7edb8.tar.bz2
rneovim-8bd1bbcec817443b20870d5220063c363ce7edb8.zip
Add missing PVS headers to new files
-rw-r--r--src/nvim/os/lang.c3
-rw-r--r--src/nvim/os/pty_process_win.c3
-rw-r--r--src/nvim/viml/parser/parser.c3
3 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/os/lang.c b/src/nvim/os/lang.c
index f0bbf4b1cb..47c278ee97 100644
--- a/src/nvim/os/lang.c
+++ b/src/nvim/os/lang.c
@@ -1,3 +1,6 @@
+// This is an open source non-commercial project. Dear PVS-Studio, please check
+// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
+
#ifdef __APPLE__
# define Boolean CFBoolean // Avoid conflict with API's Boolean
# include <CoreFoundation/CFLocale.h>
diff --git a/src/nvim/os/pty_process_win.c b/src/nvim/os/pty_process_win.c
index b90578edb7..a6774a6275 100644
--- a/src/nvim/os/pty_process_win.c
+++ b/src/nvim/os/pty_process_win.c
@@ -1,3 +1,6 @@
+// This is an open source non-commercial project. Dear PVS-Studio, please check
+// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
+
#include <assert.h>
#include <stdbool.h>
#include <stdlib.h>
diff --git a/src/nvim/viml/parser/parser.c b/src/nvim/viml/parser/parser.c
index 08d8846018..8d26d08ea7 100644
--- a/src/nvim/viml/parser/parser.c
+++ b/src/nvim/viml/parser/parser.c
@@ -1,3 +1,6 @@
+// This is an open source non-commercial project. Dear PVS-Studio, please check
+// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
+
#include "nvim/viml/parser/parser.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS