comparison src/cm.c @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents de805c49cfc1
children
comparison
equal deleted inserted replaced
411:12e008d41344 412:697ef44129c6
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 EXTERN_C char *tgoto (const char *cm, int hpos, int vpos); 36 #ifdef __cplusplus
37 EXTERN_C int tputs (const char *, int, void (*)(int)); 37 extern "C" {
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
38 44
39 static void cmgoto_for_real (struct console *c, int row, int col); 45 static void cmgoto_for_real (struct console *c, int row, int col);
40 46
41 static int cm_cost_counter; /* sums up costs */ 47 static int cm_cost_counter; /* sums up costs */
42 48