From dca28e55c7f798238e693d6db56da201c8d6dc29 Mon Sep 17 00:00:00 2001 From: ZyX Date: Sun, 1 Jun 2014 02:11:35 +0400 Subject: Fix some styles --- src/nvim/os/job.h | 2 +- src/nvim/os/rstream.h | 2 +- src/nvim/os/shell.h | 5 ----- src/nvim/os/signal.h | 2 -- src/nvim/os/time.h | 6 ------ src/nvim/os/wstream.c | 1 + 6 files changed, 3 insertions(+), 15 deletions(-) (limited to 'src/nvim/os') 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 #include -#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 #include #include - #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 - #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 #include - - - - - #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. /// -- cgit