summaryrefslogtreecommitdiff
path: root/lib/libform/frm_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libform/frm_user.c')
-rw-r--r--lib/libform/frm_user.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libform/frm_user.c b/lib/libform/frm_user.c
index dfb583dd080..96bfab481ab 100644
--- a/lib/libform/frm_user.c
+++ b/lib/libform/frm_user.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: frm_user.c,v 1.5 1999/05/17 03:04:17 millert Exp $ */
+/* $OpenBSD: frm_user.c,v 1.6 2001/01/22 18:02:16 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_user.c,v 1.8 1999/05/16 17:22:21 juergen Exp $")
+MODULE_ID("$From: frm_user.c,v 1.9 2000/12/10 02:09:37 tom Exp $")
/*---------------------------------------------------------------------------
| Facility : libnform
@@ -45,7 +45,8 @@ MODULE_ID("$From: frm_user.c,v 1.8 1999/05/16 17:22:21 juergen Exp $")
|
| Return Values : E_OK - on success
+--------------------------------------------------------------------------*/
-int set_form_userptr(FORM * form, void *usrptr)
+NCURSES_EXPORT(int)
+set_form_userptr (FORM * form, void *usrptr)
{
Normalize_Form(form)->usrptr = usrptr;
RETURN(E_OK);
@@ -61,7 +62,8 @@ int set_form_userptr(FORM * form, void *usrptr)
| Return Values : Value of pointer. If no such pointer has been set,
| NULL is returned
+--------------------------------------------------------------------------*/
-void *form_userptr(const FORM * form)
+NCURSES_EXPORT(void *)
+form_userptr (const FORM * form)
{
return Normalize_Form(form)->usrptr;
}