From 1e0600be1cb1b692408d2b3d4644a9756c93a01d Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 23 Feb 2006 18:28:34 +0000 Subject: [PATCH] * win32-termcap.c (tputs): Return 0. --- gdb/ChangeLog | 4 ++++ gdb/win32-termcap.c | 4 +++- gdb/windows-termcap.c | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f71884b7c30..ec8a1558a4f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2006-02-23 Daniel Jacobowitz + + * win32-termcap.c (tputs): Return 0. + 2006-02-21 Mark Kettenis * configure.ac: Introduce ---enable-werror, which adds -Werror to diff --git a/gdb/win32-termcap.c b/gdb/win32-termcap.c index c6620496ad9..c57b10a481a 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 c6620496ad9..c57b10a481a 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 * -- 2.30.2