This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[ob] win32-termcap -Werror fix
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Thu, 23 Feb 2006 13:28:55 -0500
- Subject: [ob] win32-termcap -Werror fix
Committed as obvious.
--
Daniel Jacobowitz
CodeSourcery
2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
* win32-termcap.c (tputs): Return 0.
Index: src/gdb/win32-termcap.c
===================================================================
--- src.orig/gdb/win32-termcap.c 2006-02-23 13:11:05.000000000 -0500
+++ src/gdb/win32-termcap.c 2006-02-23 13:26:34.000000000 -0500
@@ -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 (*o
{
while (*string)
outfun (*string++);
+
+ return 0;
}
char *