]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/base/tries.c
ncurses 5.6
[ncurses.git] / ncurses / base / tries.c
index 7e60e2c88d595f3882c5272aea7f858492ec80ae..4edb7317483c5e990e9fd29a7e42ce9c220189be 100644 (file)
 
 #include <curses.priv.h>
 
-MODULE_ID("$Id: tries.c,v 1.20 2005/04/30 19:14:18 tom Exp $")
+MODULE_ID("$Id: tries.c,v 1.22 2005/11/26 20:09:18 tom Exp $")
 
 /*
  * Expand a keycode into the string that it corresponds to, returning null if
  * no match was found, otherwise allocating a string of the result.
  */
 NCURSES_EXPORT(char *)
-_nc_expand_try(struct tries *tree, unsigned short code, int *count, size_t len)
+_nc_expand_try(struct tries *tree, unsigned code, int *count, size_t len)
 {
     struct tries *ptr = tree;
     char *result = 0;
@@ -83,7 +83,7 @@ _nc_expand_try(struct tries *tree, unsigned short code, int *count, size_t len)
  * true if the code was found/removed.
  */
 NCURSES_EXPORT(int)
-_nc_remove_key(struct tries **tree, unsigned short code)
+_nc_remove_key(struct tries **tree, unsigned code)
 {
     T((T_CALLED("_nc_remove_key(%p,%d)"), tree, code));