Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libcurses Add prototype for waddstr()



details:   https://anonhg.NetBSD.org/src/rev/edefd98620aa
branches:  trunk
changeset: 484969:edefd98620aa
user:      jdc <jdc%NetBSD.org@localhost>
date:      Sat Apr 15 23:37:30 2000 +0000

description:
Add prototype for waddstr()

diffstat:

 lib/libcurses/curses.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 5a5c22905e28 -r edefd98620aa lib/libcurses/curses.h
--- a/lib/libcurses/curses.h    Sat Apr 15 23:36:55 2000 +0000
+++ b/lib/libcurses/curses.h    Sat Apr 15 23:37:30 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: curses.h,v 1.33 2000/04/15 13:17:03 blymn Exp $        */
+/*     $NetBSD: curses.h,v 1.34 2000/04/15 23:37:30 jdc Exp $  */
 
 /*
  * Copyright (c) 1981, 1993, 1994
@@ -448,6 +448,7 @@
 int attroff(int attr);
 int attrset(int attr);
 int waddbytes(WINDOW *win, const char *bytes, int count);
+int waddstr(WINDOW *win, const char *s);
 
 /* Standard screen plus movement functions. */
 int mvaddbytes(int y, int x, const char *bytes, int count);
@@ -471,10 +472,9 @@
 chtype mvwinch(WINDOW *win, int y, int x);
 int mvwinsch(WINDOW *win, int y, int x, chtype ch);
 
-#define        getyx(w, y, x)          (y) = getcury(w), (x) = getcurx(w)
-
 #endif /* _CURSES_USE_MACROS */
 
+#define        getyx(w, y, x)          (y) = getcury(w), (x) = getcurx(w)
 #define        getbegyx(w, y, x)       (y) = getbegy(w), (x) = getbegx(w)
 #define        getmaxyx(w, y, x)       (y) = getmaxy(w), (x) = getmaxx(w)
 



Home | Main Index | Thread Index | Old Index