mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Decorate declaration rather than definition with export attribute.
This commit is contained in:
parent
034bc4ec66
commit
d1ad3d0246
@ -28,7 +28,7 @@
|
||||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: autostart.h,v 1.4 2008/02/07 15:47:28 oliverschmidt Exp $
|
||||
* $Id: autostart.h,v 1.5 2008/02/10 11:17:33 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -46,7 +46,7 @@
|
||||
#if ! CC_NO_VA_ARGS
|
||||
#if AUTOSTART_ENABLE
|
||||
#define AUTOSTART_PROCESSES(...) \
|
||||
CLIF struct process * const autostart_processes[] = {__VA_ARGS__, NULL}
|
||||
struct process * const autostart_processes[] = {__VA_ARGS__, NULL}
|
||||
#else /* AUTOSTART_ENABLE */
|
||||
#define AUTOSTART_PROCESSES(...) \
|
||||
extern int _dummy
|
||||
@ -55,7 +55,7 @@ extern int _dummy
|
||||
#error "C compiler must support __VA_ARGS__ macro"
|
||||
#endif
|
||||
|
||||
extern struct process * const autostart_processes[];
|
||||
CLIF extern struct process * const autostart_processes[];
|
||||
|
||||
void autostart_start(struct process * const processes[]);
|
||||
void autostart_exit(struct process * const processes[]);
|
||||
|
Loading…
Reference in New Issue
Block a user