Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- a/src/cm.c Mon Aug 13 11:19:22 2007 +0200 +++ b/src/cm.c Mon Aug 13 11:20:41 2007 +0200 @@ -33,8 +33,14 @@ #define EXPENSIVE 2000 -EXTERN_C char *tgoto (const char *cm, int hpos, int vpos); -EXTERN_C int tputs (const char *, int, void (*)(int)); +#ifdef __cplusplus +extern "C" { +#endif +extern char *tgoto (CONST char *cm, int hpos, int vpos); +extern void tputs (CONST char *, int, void (*)(int)); +#ifdef __cplusplus +} +#endif static void cmgoto_for_real (struct console *c, int row, int col);