ncurses 6.0 - patch 20150725
[ncurses.git] / panel / p_top.c
index 2ce5bb3e6695723ba08fd371f53129184224f8af..fdcdee9afcdc9365f7431a4188065bc4d5a5d92e 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 1998 Free Software Foundation, Inc.                        *
+ * Copyright (c) 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            *
  */
 #include "panel.priv.h"
 
-MODULE_ID("$Id: p_top.c,v 1.2 1998/02/11 12:14:01 tom Exp $")
+MODULE_ID("$Id: p_top.c,v 1.6 2010/01/23 21:22:16 tom Exp $")
 
-int
-top_panel(PANEL *pan)
+NCURSES_EXPORT(int)
+top_panel(PANEL * pan)
 {
-  return(show_panel(pan));
+  T((T_CALLED("top_panel(%p)"), (void *)pan));
+  returnCode(show_panel(pan));
 }