diff options
author | dundargoc <gocdundar@gmail.com> | 2023-12-21 15:57:55 +0100 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-12-23 14:00:09 +0100 |
commit | eae6727325111e596b49bb04337a467e8833397c (patch) | |
tree | 7be92bb7cb7cf1575ca0c714b8c7012fd25d6555 /src/nvim/message.h | |
parent | 7121241e5cecbd741795aec37a3cb1203c8e9f34 (diff) | |
download | rneovim-eae6727325111e596b49bb04337a467e8833397c.tar.gz rneovim-eae6727325111e596b49bb04337a467e8833397c.tar.bz2 rneovim-eae6727325111e596b49bb04337a467e8833397c.zip |
refactor: remove os_errmsg and os_msg functions
Instead replace them with fprintf and printf.
Diffstat (limited to 'src/nvim/message.h')
-rw-r--r-- | src/nvim/message.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/nvim/message.h b/src/nvim/message.h index 63d43fe47e..66165a3263 100644 --- a/src/nvim/message.h +++ b/src/nvim/message.h @@ -65,10 +65,3 @@ EXTERN int msg_listdo_overwrite INIT( = 0); // Prefer using semsg(), because perror() may send the output to the wrong // destination and mess up the screen. #define PERROR(msg) (void)semsg("%s: %s", (msg), strerror(errno)) - -#ifndef MSWIN -/// Headless (no UI) error message handler. -# define os_errmsg(str) fprintf(stderr, "%s", (str)) -/// Headless (no UI) message handler. -# define os_msg(str) printf("%s", (str)) -#endif |