diff --git a/src/colors.c b/src/colors.c
index 2c1a2d04922571224e11bf3d7cff1f762b16b365..1cf4c973cfc63c933b221b4384041764eb51beac 100644 (file)
--- a/src/colors.c
+++ b/src/colors.c
return NULL;
}
-static int
+static void
colors_update_pair(enum color id)
{
assert(id > 0 && id < COLOR_END);
init_pair(id,
(fg < 0 ? -1 : fg),
(bg < 0 ? -1 : bg));
- return 0;
}
int
return 0;
}
-
-int
+void
colors_start(void)
{
if (has_colors()) {
g_list_free(color_definition_list);
color_definition_list = NULL;
}
-
- return 0;
}
#endif
-int
+void
colors_use(WINDOW *w, enum color id)
{
color_entry_t *entry = &colors[id];
#ifdef ENABLE_COLORS
}
#endif
-
- return 0;
}