ncurses 5.3
[ncurses.git] / ncurses / base / lib_clear.c
index 9c07cf0890e4cd52d275c7a860649091f855c892..e0b4edf9e2245ae3b61347dce432aaaf867d2cf2 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            *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
 
 #include <curses.priv.h>
 
 
 #include <curses.priv.h>
 
-MODULE_ID("$Id: lib_clear.c,v 1.5 1998/02/11 12:13:53 tom Exp $")
+MODULE_ID("$Id: lib_clear.c,v 1.7 2000/12/10 02:43:26 tom Exp $")
 
 
-int wclear(WINDOW *win)
+NCURSES_EXPORT(int)
+wclear(WINDOW *win)
 {
 {
-int code = ERR;
+    int code = ERR;
 
 
-       T((T_CALLED("wclear(%p)"), win));
+    T((T_CALLED("wclear(%p)"), win));
 
 
-       if ((code = werase(win))!=ERR)
-         win->_clear = TRUE;
-       
-       returnCode(code);
+    if ((code = werase(win)) != ERR)
+       win->_clear = TRUE;
+
+    returnCode(code);
 }
 }