Mercurial > emacs
changeset 50938:20b3d6c3c7e5
(single_menu_item): Change last parameter to void* to
avoid warning.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Sat, 10 May 2003 16:14:35 +0000 |
parents | dfc70cb4fd02 |
children | b65b77c1b7ec |
files | src/xmenu.c |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xmenu.c Sat May 10 13:58:56 2003 +0000 +++ b/src/xmenu.c Sat May 10 16:14:35 2003 +0000 @@ -1,5 +1,5 @@ /* X Communication module for terminals which understand the X protocol. - Copyright (C) 1986, 88, 93, 94, 96, 99, 2000, 2001 + Copyright (C) 1986, 88, 93, 94, 96, 99, 2000, 2001, 2003 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -417,7 +417,7 @@ }; static void single_menu_item P_ ((Lisp_Object, Lisp_Object, Lisp_Object, - struct skp*)); + void *)); /* This is a recursive subroutine of keymap_panes. It handles one keymap, KEYMAP. @@ -489,13 +489,14 @@ not. */ static void -single_menu_item (key, item, dummy, skp) +single_menu_item (key, item, dummy, skp_v) Lisp_Object key, item, dummy; - struct skp *skp; + void *skp_v; { Lisp_Object map, item_string, enabled; struct gcpro gcpro1, gcpro2; int res; + struct skp *skp = skp_v; /* Parse the menu item and leave the result in item_properties. */ GCPRO2 (key, item);