X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=panel%2Fp_user.c;h=9eec8ba11672b0f15471c0641d39d6f1ce867627;hp=deb5bdf7e4c5e1118dd9da4f4876245abafa5f6a;hb=1b93a8aeaacc07de6d2aa08e658402b54446f064;hpb=c6540b9c89dda1a6a8bd681726831e8924176504 diff --git a/panel/p_user.c b/panel/p_user.c index deb5bdf7..9eec8ba1 100644 --- a/panel/p_user.c +++ b/panel/p_user.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 1998-2005,2010 Free Software Foundation, Inc. * + * Copyright 2020 Thomas E. Dickey * + * Copyright 1998-2005,2010 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,9 +37,9 @@ */ #include "panel.priv.h" -MODULE_ID("$Id: p_user.c,v 1.8 2010/01/23 23:18:35 tom Exp $") +MODULE_ID("$Id: p_user.c,v 1.10 2020/05/24 01:40:20 anonymous.maarten Exp $") -NCURSES_EXPORT(int) +PANEL_EXPORT(int) set_panel_userptr(PANEL * pan, NCURSES_CONST void *uptr) { T((T_CALLED("set_panel_userptr(%p,%p)"), (void *)pan, (NCURSES_CONST void *)uptr)); @@ -48,7 +49,7 @@ set_panel_userptr(PANEL * pan, NCURSES_CONST void *uptr) returnCode(OK); } -NCURSES_EXPORT(NCURSES_CONST void *) +PANEL_EXPORT(NCURSES_CONST void *) panel_userptr(const PANEL * pan) { T((T_CALLED("panel_userptr(%p)"), (const void *)pan));