summaryrefslogtreecommitdiff
path: root/lib/libcurses/base/lib_slktouch.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_slktouch.c
parent85db479b2362c15a2266e01737d835e86cda1b1e (diff)
Update to ncurses-5.2-20010114
Diffstat (limited to 'lib/libcurses/base/lib_slktouch.c')
-rw-r--r--lib/libcurses/base/lib_slktouch.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libcurses/base/lib_slktouch.c b/lib/libcurses/base/lib_slktouch.c
index b7d217fe4c6..34f4fde8261 100644
--- a/lib/libcurses/base/lib_slktouch.c
+++ b/lib/libcurses/base/lib_slktouch.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: lib_slktouch.c,v 1.1 1999/01/18 19:10:04 millert Exp $ */
+/* $OpenBSD: lib_slktouch.c,v 1.2 2001/01/22 18:01:47 millert Exp $ */
/****************************************************************************
- * 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 *
@@ -40,16 +40,16 @@
*/
#include <curses.priv.h>
-MODULE_ID("$From: lib_slktouch.c,v 1.3 1998/02/11 12:13:56 tom Exp $")
+MODULE_ID("$From: 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);
}