$NetBSD: patch-bp,v 1.1 2006/05/15 15:33:00 christos Exp $ --- readline/readline.h.orig 1995-02-24 16:20:03.000000000 -0500 +++ readline/readline.h 2006-05-15 10:46:09.000000000 -0400 @@ -7,9 +7,10 @@ #include #if !defined (__FUNCTION_DEF) -typedef int Function (); +typedef int Function (const char *); #define __FUNCTION_DEF #endif /* __FUNCTION_DEF */ +typedef char **CPPFunction(const char *, int, int); /* The functions for manipulating the text of the line within readline. Most of these functions are bound to keys by default. */ @@ -141,7 +142,7 @@ If this function exists and returns NULL then call the value of rl_completion_entry_function to try to match, otherwise use the array of strings returned. */ -extern Function *rl_attempted_completion_function; +extern CPPFunction *rl_attempted_completion_function; /* If non-zero, then this is the address of a function to call just before readline_internal () prints the first prompt. */