[ob] win32-termcap -Werror fix
Daniel Jacobowitz
drow@false.org
Thu Feb 23 18:32:00 GMT 2006
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 *
More information about the Gdb-patches
mailing list