}
void
-foreach_async_signal (void(*func)(int signo))
+foreach_async_signal (void (*func) (int signo))
{
struct signal_descriptor * scan = signal_descriptors;
struct signal_descriptor * end = (scan + signal_descriptors_length);
for (; (scan < end); scan += 1)
- if ((scan -> flags) && ASYNC)
+ if ((scan -> flags) & ASYNC)
func (scan -> signo);
}
\f
/* Make ShiftLock modifier not affect keys with other modifiers. */
if ((event->state)
- & (ShiftMask || ControlMask
- || Mod1Mask || Mod2Mask || Mod3Mask || Mod4Mask || Mod5Mask))
+ & (ShiftMask | ControlMask
+ | Mod1Mask | Mod2Mask | Mod3Mask | Mod4Mask | Mod5Mask))
{
if (((event->state) & LockMask) != 0)
(event->state) &=~ LockMask;