aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-03-19 15:46:50 -0700
committerPaul Eggert2011-03-19 15:46:50 -0700
commitaf8a867c625d0ba45177795dea995a842b22e5f6 (patch)
tree618a22c5d2bc5e18fafccb5328f08b328fea0f21 /src/ChangeLog
parent001a7ab41b79b45c0c6a1b5b90fe4ed9bbfe4e14 (diff)
downloademacs-af8a867c625d0ba45177795dea995a842b22e5f6.tar.gz
emacs-af8a867c625d0ba45177795dea995a842b22e5f6.zip
Make tparam.h and terminfo.c consistent.
* cm.c (tputs, tgoto, BC, UP): Remove extern decls. Include tparam.h instead, since it declares them. * cm.h (PC): Remove extern decl; tparam.h now does this. * deps.mk (cm.o, terminfo.o): Depend on tparam.h. * terminfo.c: Include tparam.h, to check interfaces. (tparm): Make 1st arg a const pointer in decl. Put it at top level. (tparam): Adjust signature to match interface in tparam.h; this removes some undefined behavior. Check that outstring and len are zero, which they always are with Emacs. * tparam.h (PC, BC, UP): New extern decls.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 37534dc6c64..841f4ee69dc 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,17 @@
12011-03-19 Paul Eggert <eggert@cs.ucla.edu> 12011-03-19 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Make tparam.h and terminfo.c consistent.
4 * cm.c (tputs, tgoto, BC, UP): Remove extern decls. Include
5 tparam.h instead, since it declares them.
6 * cm.h (PC): Remove extern decl; tparam.h now does this.
7 * deps.mk (cm.o, terminfo.o): Depend on tparam.h.
8 * terminfo.c: Include tparam.h, to check interfaces.
9 (tparm): Make 1st arg a const pointer in decl. Put it at top level.
10 (tparam): Adjust signature to match interface in tparam.h;
11 this removes some undefined behavior. Check that outstring and len
12 are zero, which they always are with Emacs.
13 * tparam.h (PC, BC, UP): New extern decls.
14
3 * xftfont.c (xftfont_shape): Now static, and defined only if needed. 15 * xftfont.c (xftfont_shape): Now static, and defined only if needed.
4 (xftfont_open): Rename locals to avoid shadowing. 16 (xftfont_open): Rename locals to avoid shadowing.
5 17