diff options
| author | whitespace / reindent <invalid@invalid.invalid> | 2017-07-17 14:03:14 +0200 |
|---|---|---|
| committer | whitespace / reindent <invalid@invalid.invalid> | 2017-07-17 14:04:07 +0200 |
| commit | d62a17aedeb0eebdba98238874bb13d62c48dbf9 (patch) | |
| tree | 3b319b1d61c8b85b4d1f06adf8b844bb8a9b5107 /lib/sigevent.h | |
| parent | 888ac268a0077fc9ebd1218cec6ae472af0bfc40 (diff) | |
*: reindentreindent-master-after
indent.py `git ls-files | pcregrep '\.[ch]$' | pcregrep -v '^(ldpd|babeld|nhrpd)/'`
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/sigevent.h')
| -rw-r--r-- | lib/sigevent.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/lib/sigevent.h b/lib/sigevent.h index 08eb1ca412..d4ab5741ac 100644 --- a/lib/sigevent.h +++ b/lib/sigevent.h @@ -1,4 +1,4 @@ -/* +/* * Quagga Signal handling header. * * Copyright (C) 2004 Paul Jakma. @@ -27,12 +27,11 @@ #define QUAGGA_SIGNAL_TIMER_INTERVAL 2L -struct quagga_signal_t -{ - int signal; /* signal number */ - void (*handler) (void); /* handler to call */ +struct quagga_signal_t { + int signal; /* signal number */ + void (*handler)(void); /* handler to call */ - volatile sig_atomic_t caught; /* private member */ + volatile sig_atomic_t caught; /* private member */ }; /* initialise sigevent system @@ -42,10 +41,10 @@ struct quagga_signal_t * - array of quagga_signal_t's describing signals to handle * and handlers to use for each signal */ -extern void signal_init (struct thread_master *m, int sigc, - struct quagga_signal_t *signals); +extern void signal_init(struct thread_master *m, int sigc, + struct quagga_signal_t *signals); /* check whether there are signals to handle, process any found */ -extern int quagga_sigevent_process (void); +extern int quagga_sigevent_process(void); #endif /* _QUAGGA_SIGNAL_H */ |
