This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Fix cdtest-foo.cc
- From: Daniel Jacobowitz <drow at false dot org>
- To: binutils at sourceware dot org
- Date: Wed, 25 Jul 2007 17:31:34 -0400
- Subject: 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*, ...);
};