summaryrefslogtreecommitdiff
path: root/src/core/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/misc.h')
-rw-r--r--src/core/misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/misc.h b/src/core/misc.h
index 95946077..b18ad154 100644
--- a/src/core/misc.h
+++ b/src/core/misc.h
@@ -8,7 +8,7 @@
typedef void* (*FOREACH_FIND_FUNC) (void *item, void *data);
typedef int (*COLUMN_LEN_FUNC)(void *data);
-static inline int nearest_power(int num)
+extern inline int nearest_power(int num)
{
int n = 1;