From fa325e9b42b0bdfb48857d1958d9fb7ceac55151 Mon Sep 17 00:00:00 2001 From: Dan Cross Date: Fri, 10 Jan 2020 14:44:21 +0000 Subject: Trivial changes: whitespace and modes. Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross --- src/lib9/notify.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/lib9/notify.c') diff --git a/src/lib9/notify.c b/src/lib9/notify.c index c3223875..adb3815b 100644 --- a/src/lib9/notify.c +++ b/src/lib9/notify.c @@ -1,7 +1,7 @@ /* - * Signal handling for Plan 9 programs. - * We stubbornly use the strings from Plan 9 instead - * of the enumerated Unix constants. + * Signal handling for Plan 9 programs. + * We stubbornly use the strings from Plan 9 instead + * of the enumerated Unix constants. * There are some weird translations. In particular, * a "kill" note is the same as SIGTERM in Unix. * There is no equivalent note to Unix's SIGKILL, since @@ -110,7 +110,7 @@ Jmp *(*_notejmpbuf)(void) = getonejmp; static void noteinit(void); /* - * Actual signal handler. + * Actual signal handler. */ static void (*notifyf)(void*, char*); /* Plan 9 handler */ @@ -193,7 +193,7 @@ notesetenable(int sig, int enabled) sigemptyset(&mask); sigaddset(&mask, sig); sigprocmask(enabled ? SIG_UNBLOCK : SIG_BLOCK, &mask, &omask); - return !sigismember(&omask, sig); + return !sigismember(&omask, sig); } int @@ -270,4 +270,3 @@ noteinit(void) notifyseton(sig->sig, !(sig->flags&NoNotify)); } } - -- cgit v1.2.3