kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit dad6cc7bfe1e922fc44308c96d9cb66d6b7aa78f
parent 4fe2baee57bf7eefefacec20ca5f4c7a1fccd909
Author: Joris Vink <joris@sanctorum.se>
Date:   Fri,  3 Nov 2023 12:25:39 +0100

remove const from kore_runtime_count().

via some github PR, please don't make me interact with github too much.

Diffstat:
include/kore/kore.h | 2+-
src/runtime.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/kore/kore.h b/include/kore/kore.h @@ -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); diff --git a/src/runtime.c b/src/runtime.c @@ -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);