blob: 15c60494844ac1a26eaeebc3d3864bcbadf6f5b1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- kitty/colors.c.orig 2022-11-07 10:06:42 UTC
+++ kitty/colors.c
@@ -47,7 +47,7 @@ init_FG_BG_table(void) {
}
}
-PyObject* create_256_color_table() {
+PyObject* create_256_color_table(void) {
init_FG_BG_table();
PyObject *ans = PyTuple_New(arraysz(FG_BG_256));
if (ans == NULL) return PyErr_NoMemory();
@@ -83,7 +83,7 @@ dealloc_cp(ColorProfile* self) {
}
ColorProfile*
-alloc_color_profile() {
+alloc_color_profile(void) {
return (ColorProfile*)new_cp(&ColorProfile_Type, NULL, NULL);
}
|