aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-02-23 18:28:34 +0000
committerDaniel Jacobowitz <drow@false.org>2006-02-23 18:28:34 +0000
commit1e0600be1cb1b692408d2b3d4644a9756c93a01d (patch)
tree32888f8d3f21cce4c20a54d2ca1a342f148cd672
parent5c9f7ded98e20db2a4476e709747e8b1b3393c1c (diff)
downloadgdb-1e0600be1cb1b692408d2b3d4644a9756c93a01d.zip
gdb-1e0600be1cb1b692408d2b3d4644a9756c93a01d.tar.gz
gdb-1e0600be1cb1b692408d2b3d4644a9756c93a01d.tar.bz2
* win32-termcap.c (tputs): Return 0.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/win32-termcap.c4
-rw-r--r--gdb/windows-termcap.c4
3 files changed, 10 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f71884b..ec8a155 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * win32-termcap.c (tputs): Return 0.
+
2006-02-21 Mark Kettenis <kettenis@gnu.org>
* configure.ac: Introduce ---enable-werror, which adds -Werror to
diff --git a/gdb/win32-termcap.c b/gdb/win32-termcap.c
index c662049..c57b10a 100644
--- a/gdb/win32-termcap.c
+++ b/gdb/win32-termcap.c
@@ -1,6 +1,6 @@
/* Win32 termcap emulation.
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2006 Free Software Foundation, Inc.
Contributed by CodeSourcery, LLC.
@@ -56,6 +56,8 @@ tputs (char *string, int nlines, int (*outfun) ())
{
while (*string)
outfun (*string++);
+
+ return 0;
}
char *
diff --git a/gdb/windows-termcap.c b/gdb/windows-termcap.c
index c662049..c57b10a 100644
--- a/gdb/windows-termcap.c
+++ b/gdb/windows-termcap.c
@@ -1,6 +1,6 @@
/* Win32 termcap emulation.
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2006 Free Software Foundation, Inc.
Contributed by CodeSourcery, LLC.
@@ -56,6 +56,8 @@ tputs (char *string, int nlines, int (*outfun) ())
{
while (*string)
outfun (*string++);
+
+ return 0;
}
char *