aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/message.h
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-12-21 15:57:55 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-12-23 14:00:09 +0100
commiteae6727325111e596b49bb04337a467e8833397c (patch)
tree7be92bb7cb7cf1575ca0c714b8c7012fd25d6555 /src/nvim/message.h
parent7121241e5cecbd741795aec37a3cb1203c8e9f34 (diff)
downloadrneovim-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.h7
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