Mercurial > emacs
comparison src/cm.c @ 109423:ae5ef13849d8
Merge from mainline.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Sun, 04 Jul 2010 22:11:22 +0000 |
parents | 71150397fb59 |
children | 7dceae91724c |
comparison
equal
deleted
inserted
replaced
109422:bcedeeedc5fb | 109423:ae5ef13849d8 |
---|---|
31 | 31 |
32 | 32 |
33 /* For now, don't try to include termcap.h. On some systems, | 33 /* For now, don't try to include termcap.h. On some systems, |
34 configure finds a non-standard termcap.h that the main build | 34 configure finds a non-standard termcap.h that the main build |
35 won't find. */ | 35 won't find. */ |
36 extern void tputs P_ ((const char *, int, int (*)(int))); | 36 extern void tputs (const char *, int, int (*)(int)); |
37 extern char *tgoto P_ ((const char *, int, int)); | 37 extern char *tgoto (const char *, int, int); |
38 | 38 |
39 #define BIG 9999 /* 9999 good on VAXen. For 16 bit machines | 39 #define BIG 9999 /* 9999 good on VAXen. For 16 bit machines |
40 use about 2000.... */ | 40 use about 2000.... */ |
41 | 41 |
42 extern char *BC, *UP; | 42 extern char *BC, *UP; |
44 int cost; /* sums up costs */ | 44 int cost; /* sums up costs */ |
45 | 45 |
46 /* ARGSUSED */ | 46 /* ARGSUSED */ |
47 int | 47 int |
48 evalcost (c) | 48 evalcost (c) |
49 char c; | 49 int c; |
50 { | 50 { |
51 cost++; | 51 cost++; |
52 return c; | 52 return c; |
53 } | 53 } |
54 | 54 |