summaryrefslogtreecommitdiffstats
path: root/lib/libncurses/lib_move.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libncurses/lib_move.c')
-rw-r--r--lib/libncurses/lib_move.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/lib/libncurses/lib_move.c b/lib/libncurses/lib_move.c
deleted file mode 100644
index cf56fa0..0000000
--- a/lib/libncurses/lib_move.c
+++ /dev/null
@@ -1,30 +0,0 @@
-
-/* This work is copyrighted. See COPYRIGHT.OLD & COPYRIGHT.NEW for *
-* details. If they are missing then this copy is in violation of *
-* the copyright conditions. */
-
-/*
-** lib_move.c
-**
-** The routine wmove().
-**
-*/
-
-#include "curses.priv.h"
-
-int
-wmove(WINDOW *win, int y, int x)
-{
- T(("wmove(%x,%d,%d) called", win, y, x));
-
- if (x >= 0 && x <= win->_maxx &&
- y >= 0 && y <= win->_maxy)
- {
- win->_curx = x;
- win->_cury = y;
-
- win->_flags |= _HASMOVED;
- return(OK);
- } else
- return(ERR);
-}
OpenPOWER on IntegriCloud