mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +00:00
Rename mch_* functions to os_* in os module.
This commit is contained in:

committed by
Thiago de Arruda

parent
3f7011ab91
commit
5762c4e528
@@ -20,17 +20,17 @@
|
||||
#include <crt_externs.h>
|
||||
#endif
|
||||
|
||||
const char *mch_getenv(const char *name)
|
||||
const char *os_getenv(const char *name)
|
||||
{
|
||||
return getenv(name);
|
||||
}
|
||||
|
||||
int mch_setenv(const char *name, const char *value, int overwrite)
|
||||
int os_setenv(const char *name, const char *value, int overwrite)
|
||||
{
|
||||
return setenv(name, value, overwrite);
|
||||
}
|
||||
|
||||
char *mch_getenvname_at_index(size_t index)
|
||||
char *os_getenvname_at_index(size_t index)
|
||||
{
|
||||
# if defined(AMIGA) || defined(__MRC__) || defined(__SC__)
|
||||
/*
|
||||
|
Reference in New Issue
Block a user