- * Copyright (c) 1998-2003,2004 Free Software Foundation, Inc. *
+ * Copyright 2020 Thomas E. Dickey *
+ * Copyright 1998-2004,2010 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 *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
| E_BAD_ARGUMENT - invalid menu options
| E_POSTED - menu is already posted
+--------------------------------------------------------------------------*/
| E_BAD_ARGUMENT - invalid menu options
| E_POSTED - menu is already posted
+--------------------------------------------------------------------------*/
- T((T_CALLED("set_menu_opts(%p,%d)"), menu, opts));
+ T((T_CALLED("set_menu_opts(%p,%d)"), (void *)menu, opts));
| E_BAD_ARGUMENT - invalid options
| E_POSTED - menu is already posted
+--------------------------------------------------------------------------*/
| E_BAD_ARGUMENT - invalid options
| E_POSTED - menu is already posted
+--------------------------------------------------------------------------*/
{
MENU *cmenu = menu; /* use a copy because set_menu_opts must detect
NULL menu itself to adjust its behavior */
{
MENU *cmenu = menu; /* use a copy because set_menu_opts must detect
NULL menu itself to adjust its behavior */
- T((T_CALLED("menu_opts_off(%p,%d)"), menu, opts));
+ T((T_CALLED("menu_opts_off(%p,%d)"), (void *)menu, opts));
| E_BAD_ARGUMENT - invalid menu options
| E_POSTED - menu is already posted
+--------------------------------------------------------------------------*/
| E_BAD_ARGUMENT - invalid menu options
| E_POSTED - menu is already posted
+--------------------------------------------------------------------------*/
{
MENU *cmenu = menu; /* use a copy because set_menu_opts must detect
NULL menu itself to adjust its behavior */
{
MENU *cmenu = menu; /* use a copy because set_menu_opts must detect
NULL menu itself to adjust its behavior */
- T((T_CALLED("menu_opts_on(%p,%d)"), menu, opts));
+ T((T_CALLED("menu_opts_on(%p,%d)"), (void *)menu, opts));
|
| Return Values : Menu options
+--------------------------------------------------------------------------*/
|
| Return Values : Menu options
+--------------------------------------------------------------------------*/