This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

Fix cdtest-foo.cc


GCC HEAD complains about this, and it is not germane to the test at
hand, so I just fixed it.  Committed.

-- 
Daniel Jacobowitz
CodeSourcery

2007-07-25  Daniel Jacobowitz  <dan@codesourcery.com>

	* ld-cdtest/cdtest-foo.cc (strncpy): Fix parameter name.

Index: ld-cdtest/cdtest-foo.cc
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cdtest/cdtest-foo.cc,v
retrieving revision 1.3
diff -u -p -r1.3 cdtest-foo.cc
--- ld-cdtest/cdtest-foo.cc	2 May 2006 13:35:45 -0000	1.3
+++ ld-cdtest/cdtest-foo.cc	25 Jul 2007 21:30:06 -0000
@@ -12,7 +12,7 @@ typedef unsigned int size_t;
 #endif
 
 extern "C" {
-    char *strncpy (char* dest, const char* dest, size_t len);
+    char *strncpy (char* dest, const char* src, size_t len);
     int printf (const char*, ...);
 };
 


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