Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libcurses/curses_private.h,v retrieving revision 1.20.2.1 retrieving revision 1.21 diff -u -p -r1.20.2.1 -r1.21 --- src/lib/libcurses/curses_private.h 2003/06/16 13:14:20 1.20.2.1 +++ src/lib/libcurses/curses_private.h 2002/06/26 18:14:03 1.21 @@ -1,4 +1,4 @@ -/* $NetBSD: curses_private.h,v 1.20.2.1 2003/06/16 13:14:20 grant Exp $ */ +/* $NetBSD: curses_private.h,v 1.21 2002/06/26 18:14:03 christos Exp $ */ /*- * Copyright (c) 1998-2000 Brett Lymn @@ -219,7 +219,6 @@ struct __screen { int echoit; int pfast; int rawmode; - int nl; int noqch; int clearok; int useraw; @@ -232,7 +231,7 @@ struct __screen { unsigned int len; int meta_state; char pad_char; - char ttytype[1024]; + char ttytype[128]; int endwin; }; @@ -256,7 +255,8 @@ void _cursesi_resetterm(SCREEN *scre int _cursesi_setterm(char *type, SCREEN *screen); int _cursesi_wnoutrefresh(SCREEN *screen, WINDOW *win); int __delay(void); -unsigned int __hash(char *s, int len); +unsigned int __hash_more(char *s, size_t len, u_int h); +#define __hash(s, len) __hash_more(s, len, 0u) void __id_subwins(WINDOW *orig); void __init_getch(SCREEN *screen); void __init_acs(SCREEN *screen);