diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2023-01-02 17:56:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-02 14:56:17 -0800 |
commit | a283a99165865e88ea8df366d1b2db290e9c637a (patch) | |
tree | 4f0db3b7879d2186544f14ec506f97ea93bfca76 /src/nvim/os_unix.c | |
parent | 5c6f2122ad65eb16786e7b4a7b0835b50f23f943 (diff) | |
download | rneovim-a283a99165865e88ea8df366d1b2db290e9c637a.tar.gz rneovim-a283a99165865e88ea8df366d1b2db290e9c637a.tar.bz2 rneovim-a283a99165865e88ea8df366d1b2db290e9c637a.zip |
refactor: eliminate os_unix.c #21621
Diffstat (limited to 'src/nvim/os_unix.c')
-rw-r--r-- | src/nvim/os_unix.c | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/nvim/os_unix.c b/src/nvim/os_unix.c deleted file mode 100644 index 074a8b7936..0000000000 --- a/src/nvim/os_unix.c +++ /dev/null @@ -1,42 +0,0 @@ -// 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/os/os_defs.h" -#include "nvim/os_unix.h" -#include "nvim/types.h" - -#ifdef INCLUDE_GENERATED_DECLARATIONS -# include "os_unix.c.generated.h" // IWYU pragma: export -#endif - -#if defined(HAVE_ACL) -# ifdef HAVE_SYS_ACL_H -# include <sys/acl.h> -# endif -# ifdef HAVE_SYS_ACCESS_H -# include <sys/access.h> -# endif - -// Return a pointer to the ACL of file "fname" in allocated memory. -// Return NULL if the ACL is not available for whatever reason. -vim_acl_T os_get_acl(const char_u *fname) -{ - vim_acl_T ret = NULL; - return ret; -} - -// Set the ACL of file "fname" to "acl" (unless it's NULL). -void os_set_acl(const char_u *fname, vim_acl_T aclent) -{ - if (aclent == NULL) { - return; - } -} - -void os_free_acl(vim_acl_T aclent) -{ - if (aclent == NULL) { - return; - } -} -#endif |