Get rid of all global variables
This commit is contained in:
parent
bc84d094cd
commit
10f7d9b8db
13 changed files with 121 additions and 69 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include <signal.h>
|
||||
|
||||
#include "block.h"
|
||||
|
||||
#define TIMER_SIGNAL SIGALRM
|
||||
|
||||
typedef struct {
|
||||
|
|
@ -10,5 +12,5 @@ typedef struct {
|
|||
const unsigned int reset_value;
|
||||
} timer;
|
||||
|
||||
timer timer_new(void);
|
||||
timer timer_new(const block *const blocks, const unsigned short block_count);
|
||||
int timer_arm(timer *const timer);
|
||||
|
|
|
|||
Loading…
Reference in a new issue