]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/base/lib_isendwin.c
ncurses 5.7 - patch 20090117
[ncurses.git] / ncurses / base / lib_isendwin.c
index 60015fca55b91b81e1ed99a94118dc2c7156f174..b337d97a94c3f71575cc82626752ff2fe86cc29d 100644 (file)
@@ -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            *
@@ -31,7 +31,6 @@
  *     and: Eric S. Raymond <esr@snark.thyrsus.com>                         *
  ****************************************************************************/
 
-
 /*
 **     lib_endwin.c
 **
 
 #include <curses.priv.h>
 
-MODULE_ID("$Id: lib_isendwin.c,v 1.4 1998/04/11 22:52:32 tom Exp $")
+MODULE_ID("$Id: lib_isendwin.c,v 1.6 2000/12/10 02:43:27 tom Exp $")
 
-bool isendwin(void)
+NCURSES_EXPORT(bool)
+isendwin(void)
 {
-       if (SP == NULL)
-               return FALSE;
-       return SP->_endwin;
+    if (SP == NULL)
+       return FALSE;
+    return SP->_endwin;
 }