Lines 21-28
Link Here
|
21 |
* $Id: module_main.c,v 1.16 2008-06-27 12:29:26 hanke Exp $ |
21 |
* $Id: module_main.c,v 1.16 2008-06-27 12:29:26 hanke Exp $ |
22 |
*/ |
22 |
*/ |
23 |
|
23 |
|
24 |
/* So that gcc doesn't comply */ |
24 |
#ifndef _GNU_SOURCE |
25 |
int getline(char**, size_t*, FILE*); |
25 |
#define _GNU_SOURCE |
|
|
26 |
#endif |
26 |
|
27 |
|
27 |
#define PROCESS_CMD(command, function) \ |
28 |
#define PROCESS_CMD(command, function) \ |
28 |
if (!strcmp(cmd_buf, #command"\n")){ \ |
29 |
if (!strcmp(cmd_buf, #command"\n")){ \ |