aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/signal.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-05-16 14:24:29 +0200
committerGitHub <noreply@github.com>2022-05-16 14:24:29 +0200
commitb9b5577d6d8e07d1e39020c8fc05f817f2e81c66 (patch)
tree0d4b5f8b4db1ad7b4cd6d93c89d149e9e2d84570 /src/nvim/os/signal.c
parent14d653b421d3ee4e0d641e45e67dafe43809e502 (diff)
parentf0148de7907ec297647816d51c79745be729439e (diff)
downloadrneovim-b9b5577d6d8e07d1e39020c8fc05f817f2e81c66.tar.gz
rneovim-b9b5577d6d8e07d1e39020c8fc05f817f2e81c66.tar.bz2
rneovim-b9b5577d6d8e07d1e39020c8fc05f817f2e81c66.zip
Merge pull request #18578 from dundargoc/refactor/remove-char_u
refactor: remove char_u
Diffstat (limited to 'src/nvim/os/signal.c')
-rw-r--r--src/nvim/os/signal.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nvim/os/signal.c b/src/nvim/os/signal.c
index 79e042b8a5..cd591801ed 100644
--- a/src/nvim/os/signal.c
+++ b/src/nvim/os/signal.c
@@ -210,14 +210,12 @@ static void on_signal(SignalWatcher *handle, int signum, void *data)
break;
#ifdef SIGUSR1
case SIGUSR1:
- apply_autocmds(EVENT_SIGNAL, (char_u *)"SIGUSR1", curbuf->b_fname, true,
- curbuf);
+ apply_autocmds(EVENT_SIGNAL, "SIGUSR1", curbuf->b_fname, true, curbuf);
break;
#endif
#ifdef SIGWINCH
case SIGWINCH:
- apply_autocmds(EVENT_SIGNAL, (char_u *)"SIGWINCH", curbuf->b_fname, true,
- curbuf);
+ apply_autocmds(EVENT_SIGNAL, "SIGWINCH", curbuf->b_fname, true, curbuf);
break;
#endif
default: