X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=panel%2Fp_hide.c;fp=panel%2Fp_hide.c;h=755997374136c843714ea6162d39ccea8c16568b;hp=ecc9eed2226f5e078707c9a2bf047565bd19badf;hb=46722468f47c2b77b3987729b4bcf2321cccfd01;hpb=c633e5103a29a38532cf1925257b91cea33fd090 diff --git a/panel/p_hide.c b/panel/p_hide.c index ecc9eed2..75599737 100644 --- a/panel/p_hide.c +++ b/panel/p_hide.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,10 @@ */ #include "panel.priv.h" -MODULE_ID("$Id: p_hide.c,v 1.5 1999/11/25 13:49:26 juergen Exp $") +MODULE_ID("$Id: p_hide.c,v 1.7 2001/02/24 23:46:45 tom Exp $") -int -hide_panel(register PANEL *pan) +NCURSES_EXPORT(int) +hide_panel (register PANEL *pan) { int err = OK; @@ -49,7 +49,7 @@ hide_panel(register PANEL *pan) dBug(("--> hide_panel %s", USER_PTR(pan->user))); dStack("",1,pan); - HIDE_PANEL(pan,err,TRUE); + HIDE_PANEL(pan,err,ERR); dStack("",9,pan);