From f0673817d8aef3dad3b7d17e78624aa3b8d77a6f Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 6 Nov 2015 00:02:23 +0000 Subject: Remove LSIGNAL which is just the same as lsignal() now. --- usr.bin/less/signal.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'usr.bin/less/signal.c') diff --git a/usr.bin/less/signal.c b/usr.bin/less/signal.c index b58ec1fcdfa..ccb8f24cc21 100644 --- a/usr.bin/less/signal.c +++ b/usr.bin/less/signal.c @@ -74,18 +74,18 @@ init_signals(int on) /* * Set signal handlers. */ - (void) LSIGNAL(SIGINT, u_interrupt); - (void) LSIGNAL(SIGTSTP, stop); - (void) LSIGNAL(SIGWINCH, sigwinch); - (void) LSIGNAL(SIGQUIT, SIG_IGN); + (void) lsignal(SIGINT, u_interrupt); + (void) lsignal(SIGTSTP, stop); + (void) lsignal(SIGWINCH, sigwinch); + (void) lsignal(SIGQUIT, SIG_IGN); } else { /* * Restore signals to defaults. */ - (void) LSIGNAL(SIGINT, SIG_DFL); - (void) LSIGNAL(SIGTSTP, SIG_DFL); - (void) LSIGNAL(SIGWINCH, SIG_IGN); - (void) LSIGNAL(SIGQUIT, SIG_DFL); + (void) lsignal(SIGINT, SIG_DFL); + (void) lsignal(SIGTSTP, SIG_DFL); + (void) lsignal(SIGWINCH, SIG_IGN); + (void) lsignal(SIGQUIT, SIG_DFL); } } @@ -106,13 +106,13 @@ psignals(void) /* * Clean up the terminal. */ - LSIGNAL(SIGTTOU, SIG_IGN); + lsignal(SIGTTOU, SIG_IGN); clear_bot(); deinit(); flush(); raw_mode(0); - LSIGNAL(SIGTTOU, SIG_DFL); - LSIGNAL(SIGTSTP, SIG_DFL); + lsignal(SIGTTOU, SIG_DFL); + lsignal(SIGTSTP, SIG_DFL); kill(getpid(), SIGTSTP); /* * ... Bye bye. ... @@ -120,7 +120,7 @@ psignals(void) * Reset the terminal and arrange to repaint the * screen when we get back to the main command loop. */ - LSIGNAL(SIGTSTP, stop); + lsignal(SIGTSTP, stop); raw_mode(1); init(); screen_trashed = 1; -- cgit v1.2.3