X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=menu%2Fm_item_nam.c;h=7d11fe5dd2c0d48bcfe8672b98802ee423de2c23;hb=a7e05fb9806cc1255b6ba4fb29e15d337f35b2ad;hp=3ed1d37668a29a1809b9e74055e5b52858f8a41b;hpb=c6540b9c89dda1a6a8bd681726831e8924176504;p=ncurses.git diff --git a/menu/m_item_nam.c b/menu/m_item_nam.c index 3ed1d376..7d11fe5d 100644 --- a/menu/m_item_nam.c +++ b/menu/m_item_nam.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_nam.c,v 1.15 2010/01/23 21:20:10 tom Exp $") +MODULE_ID("$Id: m_item_nam.c,v 1.17 2020/05/24 01:40:20 anonymous.maarten Exp $") /*--------------------------------------------------------------------------- | Facility : libnmenu @@ -47,7 +48,7 @@ MODULE_ID("$Id: m_item_nam.c,v 1.15 2010/01/23 21:20:10 tom Exp $") | | Return Values : See above; returns NULL if item is invalid +--------------------------------------------------------------------------*/ -NCURSES_EXPORT(const char *) +MENU_EXPORT(const char *) item_name(const ITEM * item) { T((T_CALLED("item_name(%p)"), (const void *)item)); @@ -62,7 +63,7 @@ item_name(const ITEM * item) | | Return Values : See above; Returns NULL if item is invalid +--------------------------------------------------------------------------*/ -NCURSES_EXPORT(const char *) +MENU_EXPORT(const char *) item_description(const ITEM * item) { T((T_CALLED("item_description(%p)"), (const void *)item));