summaryrefslogtreecommitdiff
path: root/lib/libform/frm_win.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-12-03 05:40:21 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-12-03 05:40:21 +0000
commitaf93658dc57e8cee1a97f3cde968066d5e72e6c5 (patch)
tree4705ae5d6401f26d2f25e699339a4e45f6d4ec62 /lib/libform/frm_win.c
parent2dc8bc967696e0898fbf9492fa9db6b696ed9204 (diff)
Merge of ncurses-4.1-971129
Diffstat (limited to 'lib/libform/frm_win.c')
-rw-r--r--lib/libform/frm_win.c37
1 files changed, 4 insertions, 33 deletions
diff --git a/lib/libform/frm_win.c b/lib/libform/frm_win.c
index 05162829bc8..286fdee0f6b 100644
--- a/lib/libform/frm_win.c
+++ b/lib/libform/frm_win.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: frm_win.c,v 1.3 1997/12/03 05:40:16 millert Exp $ */
+
/*-----------------------------------------------------------------------------+
| The ncurses form library is Copyright (C) 1995-1997 |
| by Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> |
@@ -22,7 +24,7 @@
#include "form.priv.h"
-MODULE_ID("Id: frm_win.c,v 1.4 1997/05/01 16:47:54 juergen Exp $")
+MODULE_ID("Id: frm_win.c,v 1.5 1997/10/21 13:24:19 juergen Exp $")
/*---------------------------------------------------------------------------
| Facility : libnform
@@ -56,36 +58,5 @@ WINDOW *form_win(const FORM * form)
return (f->win ? f->win : stdscr);
}
-/*---------------------------------------------------------------------------
-| Facility : libnform
-| Function : int set_form_sub(FORM *form, WINDOW *win)
-|
-| Description : Set the subwindow of the form to win.
-|
-| Return Values : E_OK - success
-| E_POSTED - form is posted
-+--------------------------------------------------------------------------*/
-int set_form_sub(FORM * form, WINDOW * win)
-{
- if (form && (form->status & _POSTED))
- RETURN(E_POSTED);
-
- Normalize_Form( form )->sub = win;
- RETURN(E_OK);
-}
-
-/*---------------------------------------------------------------------------
-| Facility : libnform
-| Function : WINDOW *form_sub(const FORM *)
-|
-| Description : Retrieve the window of the form.
-|
-| Return Values : The pointer to the Subwindow.
-+--------------------------------------------------------------------------*/
-WINDOW *form_sub(const FORM * form)
-{
- const FORM* f = Normalize_Form( form );
- return Get_Form_Window(f);
-}
-
/* frm_win.c ends here */
+