Skip to content

Commit 43d0fa6

Browse files
committed
make module_unload static
1 parent 8886e70 commit 43d0fa6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1731,7 +1731,7 @@ module_load(struct module *m, const uint8_t *p, const uint8_t *ep,
17311731
return ret;
17321732
}
17331733

1734-
void
1734+
static void
17351735
module_unload(struct module *m)
17361736
{
17371737
uint32_t i;

lib/module.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ struct name;
66
int module_create(struct module **mp);
77
int module_load(struct module *m, const uint8_t *p, const uint8_t *ep,
88
struct load_context *ctx);
9-
void module_unload(struct module *m);
109
void module_destroy(struct module *m);
1110
int module_find_export(struct module *m, const struct name *name,
1211
uint32_t type, uint32_t *idxp);

0 commit comments

Comments
 (0)