summaryrefslogtreecommitdiff
path: root/lib/libcurses
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-04 13:36:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-04 13:36:47 +0000
commite7fdef1d2a2f7984a2490264a53fc207be89cc3e (patch)
treea56f5d7ef006517d1bd120a01f2424e9efae2fa0 /lib/libcurses
parent9a69fdb64e90327cb71147b3f528b55dff01b524 (diff)
use "unsigned int" instead of "u_int" so that _POSIX_SOURCE works.
netbsd pr#2164; from seebs@taniemarie.solon.com
Diffstat (limited to 'lib/libcurses')
-rw-r--r--lib/libcurses/curses.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libcurses/curses.h b/lib/libcurses/curses.h
index 6862b67a7d8..cee7f96e013 100644
--- a/lib/libcurses/curses.h
+++ b/lib/libcurses/curses.h
@@ -121,8 +121,8 @@ typedef struct {
#define __ISDIRTY 0x01 /* Line is dirty. */
#define __ISPASTEOL 0x02 /* Cursor is past end of line */
#define __FORCEPAINT 0x04 /* Force a repaint of the line */
- u_int flags;
- u_int hash; /* Hash value for the line. */
+ unsigned int flags;
+ unsigned int hash; /* Hash value for the line. */
size_t *firstchp, *lastchp; /* First and last chngd columns ptrs */
size_t firstch, lastch; /* First and last changed columns. */
__LDATA *line; /* Pointer to the line text. */
@@ -147,7 +147,7 @@ typedef struct __window { /* Window structure. */
#define __CLEAROK 0x040 /* Clear on next refresh. */
#define __WSTANDOUT 0x080 /* Standout window */
#define __LEAVEOK 0x100 /* If curser left */
- u_int flags;
+ unsigned int flags;
} WINDOW;
/* Curses external declarations. */
@@ -302,7 +302,7 @@ __END_DECLS
/* Private functions. */
#ifdef _CURSES_PRIVATE
void __CTRACE __P((const char *, ...));
-u_int __hash __P((char *, int));
+unsigned int __hash __P((char *, int));
void __id_subwins __P((WINDOW *));
int __mvcur __P((int, int, int, int, int));
void __restore_stophandler __P((void));