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:
Joris Vink 2023-11-03 12:25:39 +01:00
parent 4fe2baee57
commit dad6cc7bfe
2 changed files with 2 additions and 2 deletions

View File

@ -1028,7 +1028,7 @@ int kore_route_lookup(struct http_request *,
#endif
/* 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_module *kore_module_load(const char *,
const char *, int);

View File

@ -76,7 +76,7 @@ static struct kore_runtime *runtimes[] = {
NULL
};
const size_t
size_t
kore_runtime_count(void)
{
return ((sizeof(runtimes) / sizeof(runtimes[0])) - 1);