aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 *