ncurses 5.8 - patch 20110307
[ncurses.git] / ncurses / base / MKkeyname.awk
index e487038ddafdf27f2c4e44cd3423c084d5def3ab..bb2599acb558c26d29407bb220a27ddb3168f70e 100644 (file)
@@ -1,6 +1,6 @@
-# $Id: MKkeyname.awk,v 1.43 2009/05/09 19:01:49 tom Exp $
+# $Id: MKkeyname.awk,v 1.45 2010/12/19 01:36:14 tom Exp $
 ##############################################################################
-# Copyright (c) 1999-2008,2009 Free Software Foundation, Inc.                #
+# Copyright (c) 1999-2009,2010 Free Software Foundation, Inc.                #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
 # copy of this software and associated documentation files (the "Software"), #
@@ -31,7 +31,6 @@ BEGIN {
        print ""
        print "#include <curses.priv.h>"
        print "#include <tic.h>"
-       print "#include <term_entry.h>"
        print ""
        first = 1;
 }
@@ -121,7 +120,7 @@ END {
        print "                 int j, k;"
        print "                 char * bound;"
        print "                 TERMTYPE *tp = &(TerminalOf(sp)->type);"
-       print "                 int save_trace = _nc_tracing;"
+       print "                 unsigned save_trace = _nc_tracing;"
        print ""
        print "                 _nc_tracing = 0;        /* prevent recursion via keybound() */"
        print "                 for (j = 0; (bound = NCURSES_SP_NAME(keybound)(NCURSES_SP_ARGx c, j)) != 0; ++j) {"