X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=menu%2Fm_trace.c;h=f5332b18916624ab9b58bb9b6a8d254132694816;hp=0f9f90273a6a3536c470434c2d668b2944a61119;hb=7503e8d82292a2a0a4d8bb55bdf3f8a203159f68;hpb=55ccd2b959766810cf7db8d1c4462f338ce0afc8 diff --git a/menu/m_trace.c b/menu/m_trace.c index 0f9f9027..f5332b18 100644 --- a/menu/m_trace.c +++ b/menu/m_trace.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 2004,2005 Free Software Foundation, Inc. * + * Copyright 2018,2020 Thomas E. Dickey * + * Copyright 2004-2010,2016 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -32,19 +33,19 @@ #include "menu.priv.h" -MODULE_ID("$Id: m_trace.c,v 1.3 2005/01/16 01:06:11 tom Exp $") +MODULE_ID("$Id: m_trace.c,v 1.7 2020/02/02 23:34:34 tom Exp $") NCURSES_EXPORT(ITEM *) _nc_retrace_item(ITEM * code) { - T((T_RETURN("%p"), code)); + T((T_RETURN("%p"), (void *)code)); return code; } NCURSES_EXPORT(ITEM **) _nc_retrace_item_ptr(ITEM ** code) { - T((T_RETURN("%p"), code)); + T((T_RETURN("%p"), (void *)code)); return code; } @@ -58,14 +59,15 @@ _nc_retrace_item_opts(Item_Options code) NCURSES_EXPORT(MENU *) _nc_retrace_menu(MENU * code) { - T((T_RETURN("%p"), code)); + T((T_RETURN("%p"), (void *)code)); return code; } NCURSES_EXPORT(Menu_Hook) _nc_retrace_menu_hook(Menu_Hook code) { - T((T_RETURN("%p"), code)); + TR_FUNC_BFR(1); + T((T_RETURN("%s"), TR_FUNC_ARG(0, code))); return code; }