X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=panel%2Fp_hidden.c;h=624c07dae0bae8cc460d940fd909c56c8fc2185a;hp=7a13ec4335dfe71d73c8e2f6fd6c47e08f89f3c7;hb=60014650d5e3f088e2d5e8835925cce96db00c33;hpb=b1f61d9f3aa244512045a6b02e759825d7049d34 diff --git a/panel/p_hidden.c b/panel/p_hidden.c index 7a13ec43..624c07da 100644 --- a/panel/p_hidden.c +++ b/panel/p_hidden.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998 Free Software Foundation, Inc. * + * Copyright (c) 1998-2000,2005 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,12 +36,13 @@ */ #include "panel.priv.h" -MODULE_ID("$Id: p_hidden.c,v 1.4 1999/11/22 18:02:41 juergen Exp $") +MODULE_ID("$Id: p_hidden.c,v 1.7 2005/02/19 16:39:17 tom Exp $") -int -panel_hidden(const PANEL *pan) +NCURSES_EXPORT(int) +panel_hidden(const PANEL * pan) { - if(!pan) - return(ERR); - return(IS_LINKED(pan) ? FALSE : TRUE); -} + T((T_CALLED("panel_hidden(%p)"), pan)); + if (!pan) + returnCode(ERR); + returnCode(IS_LINKED(pan) ? FALSE : TRUE); +}