stub termcap, add extern "C"
[deliverable/binutils-gdb.git] / gdb / stub-termcap.c
index cecb3fb23a454f8eb2b2850ea03682ac44507fad..5897d894237114def56ee7328a6e655084fbc2eb 100644 (file)
 
 #include <stdlib.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* -Wmissing-prototypes */
 extern int tgetent (char *buffer, char *termtype);
 extern int tgetnum (char *name);
@@ -32,6 +36,10 @@ extern char* tgetstr (char *name, char **area);
 extern int tputs (char *string, int nlines, int (*outfun) (int));
 extern char *tgoto (const char *cap, int col, int row);
 
+#ifdef __cplusplus
+}
+#endif
+
 /* Each of the files below is a minimal implementation of the standard
    termcap function with the same name, suitable for use in a Windows
    console window.  */
This page took 0.039297 seconds and 4 git commands to generate.