Allow to optionally (triggered with SELFSTART_PROCESS) self start the application.
This commit is contained in:
parent
155a27ff59
commit
0a8f384a40
13 changed files with 64 additions and 12 deletions
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Adam Dunkels <adam@sics.se>
|
||||
*
|
||||
* $Id: irc.c,v 1.5 2007/11/22 12:02:24 oliverschmidt Exp $
|
||||
* $Id: irc.c,v 1.6 2008/02/07 16:30:24 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
@ -60,6 +60,10 @@
|
|||
|
||||
PROCESS(irc_process, "IRC client");
|
||||
|
||||
#if SELFSTART_PROCESS
|
||||
AUTOSTART_PROCESSES(&irc_process);
|
||||
#endif /* SELFSTART_PROCESS */
|
||||
|
||||
static struct ctk_window window;
|
||||
static char log[LOG_WIDTH * LOG_HEIGHT];
|
||||
static char line[LOG_WIDTH*2];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue