diff options
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 */  | 
