summaryrefslogtreecommitdiffstats
path: root/usr.bin/less/lsystem.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-11-06 00:02:22 +0000
committernicm <nicm@openbsd.org>2015-11-06 00:02:22 +0000
commitafc24dd646eed30b19120dec71257f8f1392da09 (patch)
treef70a93db179d2421f5525a53f366f8fa3d2681d7 /usr.bin/less/lsystem.c
parentSet the name server counter in __res_state correctly if a nameserver (diff)
downloadwireguard-openbsd-afc24dd646eed30b19120dec71257f8f1392da09.tar.xz
wireguard-openbsd-afc24dd646eed30b19120dec71257f8f1392da09.zip
Remove LSIGNAL which is just the same as lsignal() now.
Diffstat (limited to 'usr.bin/less/lsystem.c')
-rw-r--r--usr.bin/less/lsystem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/less/lsystem.c b/usr.bin/less/lsystem.c
index 4cc9d54f117..cff5ad88289 100644
--- a/usr.bin/less/lsystem.c
+++ b/usr.bin/less/lsystem.c
@@ -212,7 +212,7 @@ pipe_data(char *cmd, off_t spos, off_t epos)
flush();
raw_mode(0);
init_signals(0);
- LSIGNAL(SIGPIPE, SIG_IGN);
+ lsignal(SIGPIPE, SIG_IGN);
c = EOI;
while (epos == -1 || spos++ <= epos) {
@@ -239,7 +239,7 @@ pipe_data(char *cmd, off_t spos, off_t epos)
(void) pclose(f);
- LSIGNAL(SIGPIPE, SIG_DFL);
+ lsignal(SIGPIPE, SIG_DFL);
init_signals(1);
raw_mode(1);
init();