diff --git a/src/nmcli/connections.c b/src/nmcli/connections.c index 505be6d157..185e7b19c5 100644 --- a/src/nmcli/connections.c +++ b/src/nmcli/connections.c @@ -6073,7 +6073,7 @@ finish: /* Functions for readline TAB completion in editor */ #if HAVE_EDITLINE_READLINE -#define uuid_display_hook ((void (*)(void)) NULL) +#define uuid_display_hook ((void (*)(char **, int, int)) NULL) #else static void uuid_display_hook(char **array, int len, int max_len)