diff options
Diffstat (limited to 'lib/libform/frm_page.c')
-rw-r--r-- | lib/libform/frm_page.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libform/frm_page.c b/lib/libform/frm_page.c index fc75138c0bd..fbad21e25cf 100644 --- a/lib/libform/frm_page.c +++ b/lib/libform/frm_page.c @@ -1,7 +1,7 @@ -/* $OpenBSD: frm_page.c,v 1.3 1999/05/17 03:04:17 millert Exp $ */ +/* $OpenBSD: frm_page.c,v 1.4 2001/01/22 18:02:15 millert Exp $ */ /**************************************************************************** - * 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 * @@ -34,7 +34,7 @@ #include "form.priv.h" -MODULE_ID("$From: frm_page.c,v 1.5 1999/05/16 17:21:26 juergen Exp $") +MODULE_ID("$From: frm_page.c,v 1.6 2000/12/10 02:09:37 tom Exp $") /*--------------------------------------------------------------------------- | Facility : libnform @@ -48,7 +48,8 @@ MODULE_ID("$From: frm_page.c,v 1.5 1999/05/16 17:21:26 juergen Exp $") | E_INVALID_FIELD - current field can't be left | E_SYSTEM_ERROR - system error +--------------------------------------------------------------------------*/ -int set_form_page(FORM * form, int page) +NCURSES_EXPORT(int) +set_form_page (FORM * form, int page) { int err = E_OK; @@ -94,7 +95,8 @@ int set_form_page(FORM * form, int page) | Return Values : >= 0 : current page number | -1 : invalid form pointer +--------------------------------------------------------------------------*/ -int form_page(const FORM * form) +NCURSES_EXPORT(int) +form_page (const FORM * form) { return Normalize_Form(form)->curpage; } |