Make libmenu be linked correctly with K&R style code.

Yes, this changes the ABI, but we haven't officially released
libmenu and this would be OK, probably....
This commit is contained in:
itohy 2000-03-10 09:06:21 +00:00
parent 67e7cb40b1
commit b85abeecae
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: internals.h,v 1.4 1999/12/22 14:38:12 kleink Exp $ */
/* $NetBSD: internals.h,v 1.5 2000/03/10 09:06:21 itohy Exp $ */
/*-
* Copyright (c) 1998-1999 Brett Lymn (blymn@baea.com.au, brett_lymn@yahoo.com.au)
@ -44,7 +44,7 @@
void _menui_draw_item __P((MENU *, int));
int _menui_draw_menu __P((MENU *));
int _menui_goto_item __P((MENU *, ITEM *, int));
int _menui_match_pattern __P((MENU *, char, int, int *));
int _menui_match_pattern __P((MENU *, int, int, int *));
int _menui_match_items __P((MENU *, int, int *));
void _menui_max_item_size __P((MENU *));
int _menui_stitch_items __P((MENU *));

View File

@ -1,4 +1,4 @@
/* $NetBSD: menu.h,v 1.5 1999/12/22 14:38:12 kleink Exp $ */
/* $NetBSD: menu.h,v 1.6 2000/03/10 09:06:21 itohy Exp $ */
/*-
* Copyright (c) 1998-1999 Brett Lymn (blymn@baea.com.au, brett_lymn@yahoo.com.au)
@ -168,10 +168,10 @@ char *menu_userptr __P((MENU *));
WINDOW *menu_win __P((MENU *));
MENU *new_menu __P((ITEM **));
int post_menu __P((MENU *));
int set_menu_back __P((MENU *, attr_t));
int set_menu_fore __P((MENU *, attr_t));
int set_menu_back __P((MENU *, int));
int set_menu_fore __P((MENU *, int));
int set_menu_format __P((MENU *, int, int));
int set_menu_grey __P((MENU *, attr_t));
int set_menu_grey __P((MENU *, int));
int set_menu_init __P((MENU *, Menu_Hook));
int set_menu_items __P((MENU *, ITEM **));
int set_menu_mark __P((MENU *, char *));