Revision 15fa09f7 mainbox/main.c

View differences:

mainbox/main.c
7 7

  
8 8
#define SLEEP_MS 250
9 9

  
10
struct tool_t tools[] = {
11
  {4, "test", TS_INIT}
10
static struct tool_t tools[] = {
11
  TOOL_DECL("testa", 4),
12
  TOOL_DECL("testb", 5)
12 13
};
13 14

  
14 15
#define N_TOOLS (sizeof(tools)/sizeof(struct tool_t))

Also available in: Unified diff