aboutsummaryrefslogtreecommitdiff
path: root/panel/p_update.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 /panel/p_update.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 'panel/p_update.c')
-rw-r--r--panel/p_update.c43
1 files changed, 14 insertions, 29 deletions
diff --git a/panel/p_update.c b/panel/p_update.c
index a2f45063cf5c..5967718160ff 100644
--- a/panel/p_update.c
+++ b/panel/p_update.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. *
+ * Copyright (c) 1998-2000,2005 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 *
@@ -29,7 +29,6 @@
/****************************************************************************
* Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1995 *
* and: Eric S. Raymond <esr@snark.thyrsus.com> *
- * and: Juergen Pfeifer 1997-1999,2008 *
****************************************************************************/
/* p_update.c
@@ -37,42 +36,28 @@
*/
#include "panel.priv.h"
-MODULE_ID("$Id: p_update.c,v 1.11 2010/01/23 21:22:16 tom Exp $")
+MODULE_ID("$Id: p_update.c,v 1.9 2005/02/19 16:49:47 tom Exp $")
NCURSES_EXPORT(void)
-NCURSES_SP_NAME(update_panels) (NCURSES_SP_DCL0)
+update_panels(void)
{
PANEL *pan;
- T((T_CALLED("update_panels(%p)"), (void *)SP_PARM));
+ T((T_CALLED("update_panels()")));
dBug(("--> update_panels"));
-
- if (SP_PARM)
+ pan = _nc_bottom_panel;
+ while (pan && pan->above)
{
- GetScreenHook(SP_PARM);
-
- pan = _nc_bottom_panel;
- while (pan && pan->above)
- {
- PANEL_UPDATE(pan, pan->above);
- pan = pan->above;
- }
+ PANEL_UPDATE(pan, pan->above);
+ pan = pan->above;
+ }
- pan = _nc_bottom_panel;
- while (pan)
- {
- Wnoutrefresh(pan);
- pan = pan->above;
- }
+ pan = _nc_bottom_panel;
+ while (pan)
+ {
+ Wnoutrefresh(pan);
+ pan = pan->above;
}
returnVoid;
}
-
-#if NCURSES_SP_FUNCS
-NCURSES_EXPORT(void)
-update_panels(void)
-{
- NCURSES_SP_NAME(update_panels) (CURRENT_SCREEN);
-}
-#endif