From b85abeecae936ead57a4a698f64426534acf8172 Mon Sep 17 00:00:00 2001 From: itohy Date: Fri, 10 Mar 2000 09:06:21 +0000 Subject: [PATCH] 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.... --- lib/libmenu/internals.h | 4 ++-- lib/libmenu/menu.h | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/libmenu/internals.h b/lib/libmenu/internals.h index 01525a14c1f0..455b16a6a65b 100644 --- a/lib/libmenu/internals.h +++ b/lib/libmenu/internals.h @@ -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 *)); diff --git a/lib/libmenu/menu.h b/lib/libmenu/menu.h index 5809140ed4f1..45e738f3ec4f 100644 --- a/lib/libmenu/menu.h +++ b/lib/libmenu/menu.h @@ -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 *));