use a constant for the mod dir buffer size
This commit is contained in:
1 parent
a66d9f9357
commit
7d7f02d1be
3 files changed
+4
-2
No files matched your search
@@ -4,6 +4,8 @@
|
||||
#include "stk_version.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#define MOD_DIR_BUFFER_SIZE 32
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ void *platform_get_symbol(void *handle, const char *symbol);
|
||||
|
||||
typedef void (*stk_module_func)(void);
|
||||
|
||||
char *stk_mod_dir = NULL;
|
||||
char stk_mod_dir[MOD_DIR_BUFFER_SIZE];
|
||||
static void **stk_handles = NULL;
|
||||
static stk_module_func *stk_inits = NULL;
|
||||
static stk_module_func *stk_shutdowns = NULL;
|
||||
|
||||
Reference in new issue
Block a user