summaryrefslogtreecommitdiff
path: root/lib/libform/fld_user.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/fld_user.c
parent2dc8bc967696e0898fbf9492fa9db6b696ed9204 (diff)
Merge of ncurses-4.1-971129
Diffstat (limited to 'lib/libform/fld_user.c')
-rw-r--r--lib/libform/fld_user.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libform/fld_user.c b/lib/libform/fld_user.c
index dd90483d959..21a1b85f095 100644
--- a/lib/libform/fld_user.c
+++ b/lib/libform/fld_user.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: fld_user.c,v 1.3 1997/12/03 05:39:58 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: fld_user.c,v 1.4 1997/05/01 16:47:54 juergen Exp $")
+MODULE_ID("Id: fld_user.c,v 1.5 1997/05/23 23:31:29 juergen Exp $")
/*---------------------------------------------------------------------------
| Facility : libnform
@@ -33,7 +35,7 @@ MODULE_ID("Id: fld_user.c,v 1.4 1997/05/01 16:47:54 juergen Exp $")
|
| Return Values : E_OK - on success
+--------------------------------------------------------------------------*/
-int set_field_userptr(FIELD * field, const void *usrptr)
+int set_field_userptr(FIELD * field, void *usrptr)
{
Normalize_Field( field )->usrptr = usrptr;
RETURN(E_OK);
@@ -49,7 +51,7 @@ int set_field_userptr(FIELD * field, const void *usrptr)
| Return Values : Value of pointer. If no such pointer has been set,
| NULL is returned
+--------------------------------------------------------------------------*/
-const void *field_userptr(const FIELD *field)
+void *field_userptr(const FIELD *field)
{
return Normalize_Field( field )->usrptr;
}