comparison src/cm.c @ 410:de805c49cfc1 r21-2-35

Import from CVS: tag r21-2-35
author cvs
date Mon, 13 Aug 2007 11:19:21 +0200
parents 74fd4e045ea6
children 697ef44129c6
comparison
equal deleted inserted replaced
409:301b9ebbdf3b 410:de805c49cfc1
31 #include "lstream.h" 31 #include "lstream.h"
32 #include "redisplay.h" 32 #include "redisplay.h"
33 33
34 #define EXPENSIVE 2000 34 #define EXPENSIVE 2000
35 35
36 #ifdef __cplusplus 36 EXTERN_C char *tgoto (const char *cm, int hpos, int vpos);
37 extern "C" { 37 EXTERN_C int tputs (const char *, int, void (*)(int));
38 #endif
39 extern char *tgoto (const char *cm, int hpos, int vpos);
40 extern void tputs (const char *, int, void (*)(int));
41 #ifdef __cplusplus
42 }
43 #endif
44 38
45 static void cmgoto_for_real (struct console *c, int row, int col); 39 static void cmgoto_for_real (struct console *c, int row, int col);
46 40
47 static int cm_cost_counter; /* sums up costs */ 41 static int cm_cost_counter; /* sums up costs */
48 42