summaryrefslogtreecommitdiff
path: root/lib/libcurses/base/lib_freeall.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-01-22 18:02:21 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-01-22 18:02:21 +0000
commit7fe795010750d2e2889d7085abeaa1ee0926c69b (patch)
treeb52138c43e052b09287afed0fb6351cd31249bda /lib/libcurses/base/lib_freeall.c
parent85db479b2362c15a2266e01737d835e86cda1b1e (diff)
Update to ncurses-5.2-20010114
Diffstat (limited to 'lib/libcurses/base/lib_freeall.c')
-rw-r--r--lib/libcurses/base/lib_freeall.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libcurses/base/lib_freeall.c b/lib/libcurses/base/lib_freeall.c
index 116d0fcb4b7..5fc67234223 100644
--- a/lib/libcurses/base/lib_freeall.c
+++ b/lib/libcurses/base/lib_freeall.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: lib_freeall.c,v 1.3 1999/11/28 17:49:53 millert Exp $ */
+/* $OpenBSD: lib_freeall.c,v 1.4 2001/01/22 18:01:39 millert Exp $ */
/****************************************************************************
- * Copyright (c) 1998,1999 Free Software Foundation, Inc. *
+ * Copyright (c) 1998,1999,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 *
@@ -41,10 +41,10 @@
extern int malloc_errfd; /* FIXME */
#endif
-MODULE_ID("$From: lib_freeall.c,v 1.16 1999/11/28 01:34:11 tom Exp $")
+MODULE_ID("$From: lib_freeall.c,v 1.18 2000/12/10 02:43:27 tom Exp $")
static void
-free_slk(SLK *p)
+free_slk(SLK * p)
{
if (p != 0) {
FreeIfNeeded(p->ent);
@@ -71,7 +71,7 @@ free_tries(struct tries *p)
* Free all ncurses data. This is used for testing only (there's no practical
* use for it as an extension).
*/
-void
+NCURSES_EXPORT(void)
_nc_freeall(void)
{
WINDOWLIST *p, *q;
@@ -126,7 +126,7 @@ _nc_freeall(void)
#endif
}
-void
+NCURSES_EXPORT(void)
_nc_free_and_exit(int code)
{
_nc_freeall();
@@ -134,7 +134,7 @@ _nc_free_and_exit(int code)
}
#else
-void
+NCURSES_EXPORT(void)
_nc_freeall(void)
{
}