aboutsummaryrefslogtreecommitdiff
path: root/menu/m_post.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2014-02-28 19:12:44 +0000
committerXin LI <delphij@FreeBSD.org>2014-02-28 19:12:44 +0000
commit4b819fa20a8d007a10f2d3e8d6a5dedf7f18fc9a (patch)
treeb8f6e12b479a78216f3bffb8e1258d54087268de /menu/m_post.c
parente07762606a5bf651a501cb095c98cba90e4a8fe2 (diff)
downloadsrc-4b819fa20a8d007a10f2d3e8d6a5dedf7f18fc9a.tar.gz
src-4b819fa20a8d007a10f2d3e8d6a5dedf7f18fc9a.zip
Undo two previous imports which was never done in preparation of doing a
new import.
Notes
Notes: svn path=/vendor/ncurses/dist/; revision=262616
Diffstat (limited to 'menu/m_post.c')
-rw-r--r--menu/m_post.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/menu/m_post.c b/menu/m_post.c
index 1f0b623ed456..657d0f18420b 100644
--- a/menu/m_post.c
+++ b/menu/m_post.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. *
+ * Copyright (c) 1998-2003,2004 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_post.c,v 1.29 2010/05/01 19:18:27 tom Exp $")
+MODULE_ID("$Id: m_post.c,v 1.26 2004/12/25 23:57:04 tom Exp $")
/*---------------------------------------------------------------------------
| Facility : libnmenu
@@ -171,7 +171,7 @@ _nc_Post_Item(const MENU * menu, const ITEM * item)
waddch(menu->win, ' ');
}
if ((cy + j) < getmaxy(menu->win))
- (void)mvwaddch(menu->win, cy + j, cx - 1, menu->pad);
+ mvwaddch(menu->win, cy + j, cx - 1, menu->pad);
}
wmove(menu->win, ncy, ncx);
if (!isback)
@@ -255,7 +255,7 @@ _nc_Draw_Menu(const MENU * menu)
/*---------------------------------------------------------------------------
| Facility : libnmenu
-| Function : int post_menu(MENU* menu)
+| Function : int post_menu(MENU *)
|
| Description : Post a menu to the screen. This makes it visible.
|
@@ -269,7 +269,7 @@ _nc_Draw_Menu(const MENU * menu)
NCURSES_EXPORT(int)
post_menu(MENU * menu)
{
- T((T_CALLED("post_menu(%p)"), (void *)menu));
+ T((T_CALLED("post_menu(%p)"), menu));
if (!menu)
RETURN(E_BAD_ARGUMENT);
@@ -329,7 +329,7 @@ post_menu(MENU * menu)
/*---------------------------------------------------------------------------
| Facility : libnmenu
-| Function : int unpost_menu(MENU*)
+| Function : int unpost_menu(MENU *)
|
| Description : Detach menu from screen
|
@@ -343,7 +343,7 @@ unpost_menu(MENU * menu)
{
WINDOW *win;
- T((T_CALLED("unpost_menu(%p)"), (void *)menu));
+ T((T_CALLED("unpost_menu(%p)"), menu));
if (!menu)
RETURN(E_BAD_ARGUMENT);