X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=menu%2Fm_item_top.c;h=57f1a4315e45fb4129459818eadb61d8873da77c;hp=9417e72bb561c3bd0b7126114f351201c541982a;hb=3b3a6d094f484e799b1430782f1130a9af71a94e;hpb=47d2fb4537d9ad5bb14f4810561a327930ca4280 diff --git a/menu/m_item_top.c b/menu/m_item_top.c index 9417e72b..57f1a431 100644 --- a/menu/m_item_top.c +++ b/menu/m_item_top.c @@ -38,7 +38,7 @@ #include "menu.priv.h" -MODULE_ID("$Id: m_item_top.c,v 1.12 2020/02/02 23:34:34 tom Exp $") +MODULE_ID("$Id: m_item_top.c,v 1.13 2020/05/24 01:40:20 anonymous.maarten Exp $") /*--------------------------------------------------------------------------- | Facility : libnmenu @@ -50,7 +50,7 @@ MODULE_ID("$Id: m_item_top.c,v 1.12 2020/02/02 23:34:34 tom Exp $") | E_BAD_ARGUMENT - not a menu pointer or invalid row | E_NOT_CONNECTED - there are no items for the menu +--------------------------------------------------------------------------*/ -NCURSES_EXPORT(int) +MENU_EXPORT(int) set_top_row(MENU * menu, int row) { ITEM *item; @@ -92,7 +92,7 @@ set_top_row(MENU * menu, int row) | | Return Values : The row number or ERR if there is no row +--------------------------------------------------------------------------*/ -NCURSES_EXPORT(int) +MENU_EXPORT(int) top_row(const MENU * menu) { T((T_CALLED("top_row(%p)"), (const void *)menu));