X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fwindows-termcap.c;h=7c258cfc73c9accaab8345fabc1481ae16c75345;hb=9f1b45b0da430a7a7abf9e54acbe6f2ef9d3a763;hp=c57b10a481aff6cd42b21fecde3b720b55f30b84;hpb=1e0600be1cb1b692408d2b3d4644a9756c93a01d;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/windows-termcap.c b/gdb/windows-termcap.c index c57b10a481..7c258cfc73 100644 --- a/gdb/windows-termcap.c +++ b/gdb/windows-termcap.c @@ -1,6 +1,6 @@ /* Win32 termcap emulation. - Copyright (C) 2005, 2006 Free Software Foundation, Inc. + Copyright (C) 2005-2014 Free Software Foundation, Inc. Contributed by CodeSourcery, LLC. @@ -8,21 +8,27 @@ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without eve nthe implied warranty of + but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St., Fifth Floor, Boston, MA - 02110-1301, USA. */ + along with this program. If not, see . */ #include +/* -Wmissing-prototypes */ +extern int tgetent (char *buffer, char *termtype); +extern int tgetnum (char *name); +extern int tgetflag (char *name); +extern char* tgetstr (char *name, char **area); +extern int tputs (char *string, int nlines, int (*outfun) ()); +extern char *tgoto (const char *cap, int col, int row); + /* 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. */