This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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 *


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]