summaryrefslogtreecommitdiffstats
path: root/contrib/ncurses/panel/p_user.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-05-17 08:21:06 +0000
committerpeter <peter@FreeBSD.org>2001-05-17 08:21:06 +0000
commitb7ada7f2444f41b672faef4f93e446bdf8584cf9 (patch)
treee83b2ef47811e687a6c54035c9af6d4a2b7f14e1 /contrib/ncurses/panel/p_user.c
parenta81407a537bfd1ab9e48c69007eb6b30e66d271b (diff)
downloadFreeBSD-src-b7ada7f2444f41b672faef4f93e446bdf8584cf9.zip
FreeBSD-src-b7ada7f2444f41b672faef4f93e446bdf8584cf9.tar.gz
Import ncurses-5.2-20010512 onto the vendor branch
Obtained from: ftp://dickey.his.com/ncurses/
Diffstat (limited to 'contrib/ncurses/panel/p_user.c')
-rw-r--r--contrib/ncurses/panel/p_user.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/contrib/ncurses/panel/p_user.c b/contrib/ncurses/panel/p_user.c
index 28b6526..de1ec7d 100644
--- a/contrib/ncurses/panel/p_user.c
+++ b/contrib/ncurses/panel/p_user.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * 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 *
@@ -36,10 +36,11 @@
*/
#include "panel.priv.h"
-MODULE_ID("$Id: p_user.c,v 1.3 1998/02/11 12:14:01 tom Exp $")
+MODULE_ID("$Id: p_user.c,v 1.4 2000/12/10 02:20:44 tom Exp $")
-int
-set_panel_userptr(PANEL *pan, NCURSES_CONST void *uptr)
+NCURSES_EXPORT(int)
+set_panel_userptr
+(PANEL *pan, NCURSES_CONST void *uptr)
{
if(!pan)
return(ERR);
@@ -47,8 +48,8 @@ set_panel_userptr(PANEL *pan, NCURSES_CONST void *uptr)
return(OK);
}
-NCURSES_CONST void*
-panel_userptr(const PANEL *pan)
+NCURSES_EXPORT(NCURSES_CONST void*)
+panel_userptr (const PANEL *pan)
{
return(pan ? pan->user : (NCURSES_CONST void *)0);
}
OpenPOWER on IntegriCloud