From: Andreas Schwab Date: Sat, 10 May 2003 16:14:35 +0000 (+0000) Subject: (single_menu_item): Change last parameter to void* to X-Git-Tag: ttn-vms-21-2-B4~10212 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aea448d23c7de2d8d204f931ff1c72ec957dbd3f;p=emacs.git (single_menu_item): Change last parameter to void* to avoid warning. --- diff --git a/src/xmenu.c b/src/xmenu.c index 68aad9c46e8..6d402f660d0 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -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 @@ struct skp }; 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 @@ single_keymap_panes (keymap, pane_name, prefix, notreal, maxdepth) 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);