summaryrefslogtreecommitdiff
path: root/pico/pico.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2024-01-30 21:12:06 -0700
committerEduardo Chappa <chappa@washington.edu>2024-01-30 21:12:06 -0700
commiteaa7b17bca60632bc703f97c169ee4af2a519a2a (patch)
tree1c39d658ccf304f7d64fa3ef8ce104a44dcd3c03 /pico/pico.c
parentf7deb74aa5612d4d49da4ec179e61124e8fa0763 (diff)
downloadalpine-eaa7b17bca60632bc703f97c169ee4af2a519a2a.tar.xz
* Changes in the source code of Alpine to define internal prototypes
of all functions so that they follow modern C standards. This lead to the splitting of the gf_io_t type into two types gf_i_t and gf_o_t with different internal prototypes. More details in the file pith/detach.c. This work was initiated based on a report by Holger Hoffstätte.
Diffstat (limited to 'pico/pico.c')
-rw-r--r--pico/pico.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pico/pico.c b/pico/pico.c
index bb1376fa..639deccc 100644
--- a/pico/pico.c
+++ b/pico/pico.c
@@ -1456,7 +1456,7 @@ mouse_get_last(mousehandler_t *f, MOUSEPRESS *mp)
* register_key - register the given keystroke to accept mouse events
*/
void
-register_key(int i, unsigned rval, char *label, void (*label_printer)(),
+register_key(int i, unsigned rval, char *label, void (*label_printer)(int, MENUITEM *),
int row, int col, int len, COLOR_PAIR *kn, COLOR_PAIR *kl)
{
if(i > 11)