mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 04:29:02 -04:00
remove const from kore_runtime_count().
via some github PR, please don't make me interact with github too much.
This commit is contained in:
parent
4fe2baee57
commit
dad6cc7bfe
@ -1028,7 +1028,7 @@ int kore_route_lookup(struct http_request *,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* runtime.c */
|
/* runtime.c */
|
||||||
const size_t kore_runtime_count(void);
|
size_t kore_runtime_count(void);
|
||||||
struct kore_runtime_call *kore_runtime_getcall(const char *);
|
struct kore_runtime_call *kore_runtime_getcall(const char *);
|
||||||
struct kore_module *kore_module_load(const char *,
|
struct kore_module *kore_module_load(const char *,
|
||||||
const char *, int);
|
const char *, int);
|
||||||
|
@ -76,7 +76,7 @@ static struct kore_runtime *runtimes[] = {
|
|||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
const size_t
|
size_t
|
||||||
kore_runtime_count(void)
|
kore_runtime_count(void)
|
||||||
{
|
{
|
||||||
return ((sizeof(runtimes) / sizeof(runtimes[0])) - 1);
|
return ((sizeof(runtimes) / sizeof(runtimes[0])) - 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user