diff options
author | ZyX <kp-pav@ya.ru> | 2014-06-01 02:11:35 +0400 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-06-02 11:04:18 -0300 |
commit | dca28e55c7f798238e693d6db56da201c8d6dc29 (patch) | |
tree | 6a00f851323018bba292bc28d8a5683165671952 /src/nvim/os | |
parent | bf4fb301216f18ed9126a08a57c27453b51c044e (diff) | |
download | rneovim-dca28e55c7f798238e693d6db56da201c8d6dc29.tar.gz rneovim-dca28e55c7f798238e693d6db56da201c8d6dc29.tar.bz2 rneovim-dca28e55c7f798238e693d6db56da201c8d6dc29.zip |
Fix some styles
Diffstat (limited to 'src/nvim/os')
-rw-r--r-- | src/nvim/os/job.h | 2 | ||||
-rw-r--r-- | src/nvim/os/rstream.h | 2 | ||||
-rw-r--r-- | src/nvim/os/shell.h | 5 | ||||
-rw-r--r-- | src/nvim/os/signal.h | 2 | ||||
-rw-r--r-- | src/nvim/os/time.h | 6 | ||||
-rw-r--r-- | src/nvim/os/wstream.c | 1 |
6 files changed, 3 insertions, 15 deletions
diff --git a/src/nvim/os/job.h b/src/nvim/os/job.h index 665bdffdb5..f48218ffe7 100644 --- a/src/nvim/os/job.h +++ b/src/nvim/os/job.h @@ -10,8 +10,8 @@ #include <stdint.h> #include <stdbool.h> -#include "nvim/os/event_defs.h" #include "nvim/os/rstream_defs.h" +#include "nvim/os/event_defs.h" #ifdef INCLUDE_GENERATED_DECLARATIONS # include "os/job.h.generated.h" diff --git a/src/nvim/os/rstream.h b/src/nvim/os/rstream.h index 059b2a5ce8..713d1e77e6 100644 --- a/src/nvim/os/rstream.h +++ b/src/nvim/os/rstream.h @@ -4,8 +4,8 @@ #include <stdbool.h> #include <stdint.h> #include <uv.h> - #include "nvim/os/event_defs.h" + #include "nvim/os/rstream_defs.h" #ifdef INCLUDE_GENERATED_DECLARATIONS diff --git a/src/nvim/os/shell.h b/src/nvim/os/shell.h index 3d0e32bf67..e912baedf8 100644 --- a/src/nvim/os/shell.h +++ b/src/nvim/os/shell.h @@ -2,7 +2,6 @@ #define NVIM_OS_SHELL_H #include <stdbool.h> - #include "nvim/types.h" // Flags for mch_call_shell() second argument @@ -17,11 +16,7 @@ typedef enum { kShellOptHideMess = 128, ///< previously a global variable from os_unix.c } ShellOpts; - - - #ifdef INCLUDE_GENERATED_DECLARATIONS # include "os/shell.h.generated.h" #endif #endif // NVIM_OS_SHELL_H - diff --git a/src/nvim/os/signal.h b/src/nvim/os/signal.h index 7cdde3c71a..927437b2db 100644 --- a/src/nvim/os/signal.h +++ b/src/nvim/os/signal.h @@ -3,9 +3,7 @@ #include "nvim/os/event_defs.h" - #ifdef INCLUDE_GENERATED_DECLARATIONS # include "os/signal.h.generated.h" #endif #endif // NVIM_OS_SIGNAL_H - diff --git a/src/nvim/os/time.h b/src/nvim/os/time.h index cfe7eb85ff..8c73fc0c3b 100644 --- a/src/nvim/os/time.h +++ b/src/nvim/os/time.h @@ -4,13 +4,7 @@ #include <stdint.h> #include <stdbool.h> - - - - - #ifdef INCLUDE_GENERATED_DECLARATIONS # include "os/time.h.generated.h" #endif #endif // NVIM_OS_TIME_H - diff --git a/src/nvim/os/wstream.c b/src/nvim/os/wstream.c index 899b97da7e..c2ed05b78f 100644 --- a/src/nvim/os/wstream.c +++ b/src/nvim/os/wstream.c @@ -34,6 +34,7 @@ typedef struct { #ifdef INCLUDE_GENERATED_DECLARATIONS # include "os/wstream.c.generated.h" #endif + /// Creates a new WStream instance. A WStream encapsulates all the boilerplate /// necessary for writing to a libuv stream. /// |