Cleanup and refactor

Author Mitja Felicijan <mitja.felicijan@gmail.com> 2026-02-18 13:30:16 +0100
Committer Mitja Felicijan <mitja.felicijan@gmail.com> 2026-02-18 13:30:16 +0100
Commit 7932871ca1ea8838ae32644aa0a9a951d54a1ab3 (patch)
-rw-r--r-- context.c 2
-rw-r--r-- npc.c 2
2 files changed, 2 insertions, 2 deletions
diff --git a/context.c b/context.c
...
16
	(void)text;
16
	(void)text;
17
}
17
}
18
  
18
  
19
void list_available_models() {
19
static void list_available_models() {
20
	printf("Model list:\n");
20
	printf("Model list:\n");
21
	ModelConfig model;
21
	ModelConfig model;
22
	static_foreach(ModelConfig, model, models) {
22
	static_foreach(ModelConfig, model, models) {
...
diff --git a/npc.c b/npc.c
...
19
	(void)text;
19
	(void)text;
20
}
20
}
21
  
21
  
22
void list_available_models() {
22
static void list_available_models() {
23
	printf("Model list:\n");
23
	printf("Model list:\n");
24
	ModelConfig model;
24
	ModelConfig model;
25
	static_foreach(ModelConfig, model, models) {
25
	static_foreach(ModelConfig, model, models) {
...