X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=form%2Ffrm_win.c;h=5f3bc3c658f77fe1a67f23dc5aa486859083a322;hp=ae9fb153c3b7c777b546c61ee8380283d504731b;hb=d1cc319afccb0d472465718a748664e7cef00840;hpb=f5da57ad7eb397b1001e2fca9cb0e278a6564716 diff --git a/form/frm_win.c b/form/frm_win.c index ae9fb153..5f3bc3c6 100644 --- a/form/frm_win.c +++ b/form/frm_win.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 1998-2004,2009 Free Software Foundation, Inc. * + * Copyright 2020 Thomas E. Dickey * + * Copyright 1998-2009,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 * @@ -32,7 +33,7 @@ #include "form.priv.h" -MODULE_ID("$Id: frm_win.c,v 1.15 2009/11/07 17:11:21 tom Exp $") +MODULE_ID("$Id: frm_win.c,v 1.18 2020/05/24 01:40:20 anonymous.maarten Exp $") /*--------------------------------------------------------------------------- | Facility : libnform @@ -43,10 +44,10 @@ MODULE_ID("$Id: frm_win.c,v 1.15 2009/11/07 17:11:21 tom Exp $") | Return Values : E_OK - success | E_POSTED - form is posted +--------------------------------------------------------------------------*/ -NCURSES_EXPORT(int) +FORM_EXPORT(int) set_form_win(FORM *form, WINDOW *win) { - T((T_CALLED("set_form_win(%p,%p)"), form, win)); + T((T_CALLED("set_form_win(%p,%p)"), (void *)form, (void *)win)); if (form && (form->status & _POSTED)) RETURN(E_POSTED); @@ -72,13 +73,13 @@ set_form_win(FORM *form, WINDOW *win) | | Return Values : The pointer to the Window or stdscr if there is none. +--------------------------------------------------------------------------*/ -NCURSES_EXPORT(WINDOW *) +FORM_EXPORT(WINDOW *) form_win(const FORM *form) { WINDOW *result; const FORM *f; - T((T_CALLED("form_win(%p)"), form)); + T((T_CALLED("form_win(%p)"), (const void *)form)); f = Normalize_Form(form); #if NCURSES_SP_FUNCS