X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=menu%2Fm_item_top.c;h=57f1a4315e45fb4129459818eadb61d8873da77c;hb=5899b5e464ecec4b1613f6fef8cb7b75793c88e3;hp=752e20d9edbb45a0d9428895983e73f737d02c06;hpb=c6540b9c89dda1a6a8bd681726831e8924176504;p=ncurses.git diff --git a/menu/m_item_top.c b/menu/m_item_top.c index 752e20d9..57f1a431 100644 --- a/menu/m_item_top.c +++ b/menu/m_item_top.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 1998-2004,2010 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 * @@ -37,7 +38,7 @@ #include "menu.priv.h" -MODULE_ID("$Id: m_item_top.c,v 1.11 2010/01/23 21:20:10 tom Exp $") +MODULE_ID("$Id: m_item_top.c,v 1.13 2020/05/24 01:40:20 anonymous.maarten Exp $") /*--------------------------------------------------------------------------- | Facility : libnmenu @@ -49,7 +50,7 @@ MODULE_ID("$Id: m_item_top.c,v 1.11 2010/01/23 21:20:10 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; @@ -91,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));