X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=panel%2Fp_top.c;h=17abd7680136ea82775399771dc5f14b3c547f1a;hp=aa7d9d420e5ebf858d8a9f8c0ae66673931f8bd9;hb=81304798ee736c467839c779c9ca5dca48db7bea;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01 diff --git a/panel/p_top.c b/panel/p_top.c index aa7d9d42..17abd768 100644 --- a/panel/p_top.c +++ b/panel/p_top.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 1998,2000 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,10 +37,11 @@ */ #include "panel.priv.h" -MODULE_ID("$Id: p_top.c,v 1.3 2000/12/10 02:20:44 tom Exp $") +MODULE_ID("$Id: p_top.c,v 1.8 2020/05/24 01:40:20 anonymous.maarten Exp $") -NCURSES_EXPORT(int) -top_panel (PANEL *pan) +PANEL_EXPORT(int) +top_panel(PANEL * pan) { - return(show_panel(pan)); + T((T_CALLED("top_panel(%p)"), (void *)pan)); + returnCode(show_panel(pan)); }