* tparam.h: New file.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 8 Mar 2011 18:26:34 +0000 (10:26 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 8 Mar 2011 18:26:34 +0000 (10:26 -0800)
commit50938595880fd87c7dcd39a607cba1b0a7598baf
treee505cffa90ab1c25e1f15c931e6e47c7575b4e2d
parent75f8807fe6cc437f58845ec21621614d1dbb7f36
* tparam.h: New file.

* term.c, tparam.h: Include it.
* deps.mk (term.o, tparam.o): Depend on tparam.h.
* term.c (tputs, tgetent, tgetflag, tgetnum, tparam, tgetstr):
Move these decls to tparam.h, and make them agree with what
is actually in tparam.c.  The previous trick of using incompatible
decls in different modules does not conform to the C standard.
All callers of tparam changed to use tparam's actual API.
* tparam.c (tparam1, tparam, tgoto):
Use const pointers where appropriate.
src/ChangeLog
src/deps.mk
src/term.c
src/tparam.c
src/tparam.h [new file with mode: 0644]