X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=panel%2Fp_hide.c;h=6a372ace4bcf89fb2e1e39860f08a9ea39546095;hp=efcd00e45706e463c8241ae3566de455be7dda7c;hb=f259fb41d8f08b7e042eb928b839b59c8e39098c;hpb=fc79b49bd8a9c5e4db287514cdac46e1691cf48a diff --git a/panel/p_hide.c b/panel/p_hide.c index efcd00e4..6a372ace 100644 --- a/panel/p_hide.c +++ b/panel/p_hide.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 1998-2000,2005 Free Software Foundation, Inc. * + * Copyright 2020 Thomas E. Dickey * + * Copyright 1998-2009,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,20 +37,20 @@ */ #include "panel.priv.h" -MODULE_ID("$Id: p_hide.c,v 1.10 2009/02/07 23:11:45 tom Exp $") +MODULE_ID("$Id: p_hide.c,v 1.14 2020/09/26 18:02:35 tom Exp $") -NCURSES_EXPORT(int) +PANEL_EXPORT(int) hide_panel(register PANEL * pan) { int err = ERR; - T((T_CALLED("hide_panel(%p)"), pan)); + T((T_CALLED("hide_panel(%p)"), (void *)pan)); if (pan) { GetHook(pan); - dBug(("--> hide_panel %s", USER_PTR(pan->user))); + dBug(("--> hide_panel %s", USER_PTR(pan->user, 1))); dStack("", 1, pan); HIDE_PANEL(pan, err, ERR);