summaryrefslogtreecommitdiff
path: root/lib/libcurses/nc_panel.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcurses/nc_panel.h')
-rw-r--r--lib/libcurses/nc_panel.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/libcurses/nc_panel.h b/lib/libcurses/nc_panel.h
index 107f555d5e4..83c4e3a8ece 100644
--- a/lib/libcurses/nc_panel.h
+++ b/lib/libcurses/nc_panel.h
@@ -1,7 +1,7 @@
-/* $OpenBSD: nc_panel.h,v 1.3 2001/01/22 18:01:34 millert Exp $ */
+/* $OpenBSD: nc_panel.h,v 1.4 2010/01/12 23:21:59 nicm Exp $ */
/****************************************************************************
- * Copyright (c) 1998,2000 Free Software Foundation, Inc. *
+ * Copyright (c) 1998-2000,2008 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 *
@@ -29,13 +29,13 @@
****************************************************************************/
/****************************************************************************
- * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 *
- * and: Eric S. Raymond <esr@snark.thyrsus.com> *
+ * Author: Juergen Pfeifer 1997 *
+ * and: Thomas E. Dickey *
****************************************************************************/
/*
- * $From: nc_panel.h,v 1.3 2000/12/10 02:04:35 tom Exp $
+ * $Id: nc_panel.h,v 1.4 2010/01/12 23:21:59 nicm Exp $
*
* nc_panel.h
*
@@ -56,6 +56,9 @@ struct panelhook {
struct panel* top_panel;
struct panel* bottom_panel;
struct panel* stdscr_pseudo_panel;
+#if NO_LEAKS
+ int (*destroy)(struct panel *);
+#endif
};
/* Retrieve the panelhook of the current screen */