summaryrefslogtreecommitdiffstats
path: root/lib/libpanel/p_user.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-01-22 18:01:32 +0000
committermillert <millert@openbsd.org>2001-01-22 18:01:32 +0000
commit84af20cee44481ef9eb2070c76702603863c1a4c (patch)
treeb232b1727be5b5b1854432f2b87c149f7522cb9d /lib/libpanel/p_user.c
parentfix memory leaks in SSH2 key exchange; ok markus@ (diff)
downloadwireguard-openbsd-84af20cee44481ef9eb2070c76702603863c1a4c.tar.xz
wireguard-openbsd-84af20cee44481ef9eb2070c76702603863c1a4c.zip
Update to ncurses-5.2-20010114
Diffstat (limited to 'lib/libpanel/p_user.c')
-rw-r--r--lib/libpanel/p_user.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/libpanel/p_user.c b/lib/libpanel/p_user.c
index 30b4e08580b..bb4e692c455 100644
--- a/lib/libpanel/p_user.c
+++ b/lib/libpanel/p_user.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: p_user.c,v 1.2 1998/07/24 17:08:18 millert Exp $ */
+/* $OpenBSD: p_user.c,v 1.3 2001/01/22 18:02:10 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 *
@@ -38,10 +38,11 @@
*/
#include "panel.priv.h"
-MODULE_ID("$From: p_user.c,v 1.3 1998/02/11 12:14:01 tom Exp $")
+MODULE_ID("$From: 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);
@@ -49,8 +50,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);
}