Linting: Fix header guards, add whitespace.

This commit is contained in:
Florian Walch 2014-11-20 17:38:51 +01:00 committed by Justin M. Keyes
parent e21f6e754d
commit 73a970ccd9
5 changed files with 11 additions and 11 deletions

View File

@ -14,6 +14,6 @@ typedef struct {
uint64_t device_id; ///< @private The id of the device containing the file
} FileID;
#define FILE_ID_EMPTY (FileID){.inode = 0, .device_id = 0}
#define FILE_ID_EMPTY (FileID) {.inode = 0, .device_id = 0}
#endif // NVIM_OS_FS_DEFS_H

View File

@ -7,4 +7,4 @@
# include "nvim/os/unix_defs.h"
#endif
#endif // NVIM_OS_DEFS_H
#endif // NVIM_OS_OS_DEFS_H

View File

@ -1,7 +1,7 @@
#ifndef NEOVIM_OS_UNIX_DEFS_H
#define NEOVIM_OS_UNIX_DEFS_H
#ifndef NVIM_OS_UNIX_DEFS_H
#define NVIM_OS_UNIX_DEFS_H
#define TEMP_DIR_NAMES {"$TMPDIR", "/tmp", ".", "$HOME"}
#define TEMP_FILE_PATH_MAXLEN 256
#endif // NEOVIM_OS_UNIX_DEFS_H
#endif // NVIM_OS_UNIX_DEFS_H

View File

@ -1,9 +1,9 @@
#ifndef NEOVIM_OS_WIN_DEFS_H
#define NEOVIM_OS_WIN_DEFS_H
#ifndef NVIM_OS_WIN_DEFS_H
#define NVIM_OS_WIN_DEFS_H
#include <windows.h>
#define TEMP_DIR_NAMES {"$TMP", "$TEMP", "$USERPROFILE", ""}
#define TEMP_FILE_PATH_MAXLEN _MAX_PATH
#endif // NEOVIM_OS_WIN_DEFS_H
#endif // NVIM_OS_WIN_DEFS_H

View File

@ -1,5 +1,5 @@
#ifndef NVIM_OS_UNIX_DEFS_H
#define NVIM_OS_UNIX_DEFS_H
#ifndef NVIM_OS_UNIX_DEFS_LEGACY_H
#define NVIM_OS_UNIX_DEFS_LEGACY_H
/*
* VIM - Vi IMproved by Bram Moolenaar
@ -253,4 +253,4 @@
/* We have three kinds of ACL support. */
#define HAVE_ACL (HAVE_POSIX_ACL || HAVE_SOLARIS_ACL || HAVE_AIX_ACL)
#endif // NVIM_OS_UNIX_DEFS_H
#endif // NVIM_OS_UNIX_DEFS_LEGACY_H