]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/base/lib_slktouch.c
ncurses 5.3
[ncurses.git] / ncurses / base / lib_slktouch.c
index c2829aed0e183a7a7fd2e9b7ce1ecdb4ef5ffdb6..5eb5df385b82c02aba1ca720d9d47616fa9af3da 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            *
  */
 #include <curses.priv.h>
 
-MODULE_ID("$Id: lib_slktouch.c,v 1.3 1998/02/11 12:13:56 tom Exp $")
+MODULE_ID("$Id: lib_slktouch.c,v 1.5 2000/12/10 02:43:27 tom Exp $")
 
-int
+NCURSES_EXPORT(int)
 slk_touch(void)
 {
-       T((T_CALLED("slk_touch()")));
+    T((T_CALLED("slk_touch()")));
 
-       if (SP == NULL || SP->_slk == NULL)
-               returnCode(ERR);
-       SP->_slk->dirty = TRUE;
+    if (SP == NULL || SP->_slk == NULL)
+       returnCode(ERR);
+    SP->_slk->dirty = TRUE;
 
-       returnCode(OK);
+    returnCode(OK);
 }