crash printing non-local variable from nested subprogram
[deliverable/binutils-gdb.git] / gdb / gdb_curses.h
index f575a016fa2e54debc806a79fe95e154f79df29e..a89383f92ba1bf17eeb2645024d9b4484eccf471 100644 (file)
 #include <term.h>
 #else
 /* On MinGW, a real termcap library is usually not present.  Stub versions
-   of the termcap functions will be built from windows-termcap.c.  Readline
+   of the termcap functions will be built from stub-termcap.c.  Readline
    provides its own extern declarations when there's no termcap.h; do the
    same here for the termcap functions used in GDB.  */
-extern int tgetnum (const char *);
+EXTERN_C int tgetnum (const char *);
 #endif
 
 /* SunOS's curses.h has a '#define reg register' in it.  Thank you Sun.  */
This page took 0.027287 seconds and 4 git commands to generate.