Index: menu.h
--- menu.h.orig
+++ menu.h
@@ -21,9 +21,11 @@
  * is pressed, the _func_ for that item is called with one argument:
  * the _key_ pressed.
  */
+typedef void (*menu_funcp)(void *);
+
 typedef struct {
     char *item;		/* item string, ie: "add a user" */
-    void (*func)();	/* function to call */
+    menu_funcp func;	/* function to call */
     ychar key;		/* activating keypress, ie: "a" */
 } menu_item;
 
@@ -31,16 +33,16 @@ extern menu_item *menu_ptr;	/* if non-NULL, current me
 
 /* global functions */
 
-extern void	kill_menu	();				/* menu.c */
-extern void	update_menu	();				/* menu.c */
-extern int	show_menu	( /* menuptr, len */ );		/* menu.c */
-extern int	show_text	( /* prompt, func */ );		/* menu.c */
-extern int	show_mesg	();				/* menu.c */
-extern int	show_main_menu	();				/* menu.c */
-extern int	show_option_menu();				/* menu.c */
-extern int	show_user_menu	( /* title, func */ );		/* menu.c */
-extern int	show_error_menu	( /* str1, str2 */ );		/* menu.c */
-extern int	yes_no		( /* prompt */ );		/* menu.c */
-extern void	update_user_menu();				/* menu.c */
+extern void	kill_menu	(void);				/* menu.c */
+extern void	update_menu	(void);				/* menu.c */
+extern int	show_menu	(menu_item *, int);		/* menu.c */
+extern int	show_text	(char *, void (*)());		/* menu.c */
+extern int	show_mesg	(char *, void (*)());		/* menu.c */
+extern int	show_main_menu	(void);				/* menu.c */
+extern int	show_option_menu(void);				/* menu.c */
+extern int	show_user_menu	(char *, void (*)(), int);	/* menu.c */
+extern int	show_error_menu	(const char *, char *);		/* menu.c */
+extern int	yes_no		(char *);			/* menu.c */
+extern void	update_user_menu(void);				/* menu.c */
 
 /* EOF */
