mirror of https://github.com/schoebel/mars
all: fix warning on __exit annotations
This commit is contained in:
parent
4101aa69de
commit
d930823b17
5
brick.h
5
brick.h
|
@ -628,6 +628,11 @@ extern void brick_thread_stop_nowait(struct task_struct *k);
|
|||
|
||||
// init
|
||||
|
||||
#ifdef CONFIG_MARS_HAVE_BIGMODULE
|
||||
#undef __exit
|
||||
#define __exit /*empty*/
|
||||
#endif
|
||||
|
||||
extern int init_brick(void);
|
||||
extern void exit_brick(void);
|
||||
|
||||
|
|
|
@ -65,6 +65,11 @@ extern int brick_mem_reserve(struct mem_reservation *r);
|
|||
|
||||
// init
|
||||
|
||||
#ifdef CONFIG_MARS_HAVE_BIGMODULE
|
||||
#undef __exit
|
||||
#define __exit /*empty*/
|
||||
#endif
|
||||
|
||||
extern int init_brick_mem(void);
|
||||
extern void exit_brick_mem(void);
|
||||
|
||||
|
|
Loading…
Reference in New Issue