aboutsummaryrefslogtreecommitdiff
path: root/contrib/ncurses/menu/m_item_nam.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ncurses/menu/m_item_nam.c')
-rw-r--r--contrib/ncurses/menu/m_item_nam.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/contrib/ncurses/menu/m_item_nam.c b/contrib/ncurses/menu/m_item_nam.c
index 1be8a6da86fb..0fa8e59d6876 100644
--- a/contrib/ncurses/menu/m_item_nam.c
+++ b/contrib/ncurses/menu/m_item_nam.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * Copyright (c) 1998 Free Software Foundation, Inc. *
+ * Copyright (c) 1998,2000 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 +37,7 @@
#include "menu.priv.h"
-MODULE_ID("$Id: m_item_nam.c,v 1.9 1999/05/16 17:25:43 juergen Exp $")
+MODULE_ID("$Id: m_item_nam.c,v 1.10 2000/12/10 02:16:48 tom Exp $")
/*---------------------------------------------------------------------------
| Facility : libnmenu
@@ -47,7 +47,8 @@ MODULE_ID("$Id: m_item_nam.c,v 1.9 1999/05/16 17:25:43 juergen Exp $")
|
| Return Values : See above; returns NULL if item is invalid
+--------------------------------------------------------------------------*/
-const char *item_name(const ITEM * item)
+NCURSES_EXPORT(const char *)
+item_name (const ITEM * item)
{
return ((item) ? item->name.str : (char *)0);
}
@@ -60,7 +61,8 @@ const char *item_name(const ITEM * item)
|
| Return Values : See above; Returns NULL if item is invalid
+--------------------------------------------------------------------------*/
-const char *item_description(const ITEM * item)
+NCURSES_EXPORT(const char *)
+item_description (const ITEM * item)
{
return ((item) ? item->description.str : (char *)0);
}