aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cdtest/cdtest-foo.cc
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-07-25 21:30:59 +0000
committerDaniel Jacobowitz <drow@false.org>2007-07-25 21:30:59 +0000
commitf91c3144f9b1ba94aac4290682f1000bb3f7b218 (patch)
treee0de954f86fdea29efba44a90519db9678f22a2d /ld/testsuite/ld-cdtest/cdtest-foo.cc
parentd12f9798efc24cae3261f9956d035d24caa1d7e1 (diff)
downloadgdb-f91c3144f9b1ba94aac4290682f1000bb3f7b218.zip
gdb-f91c3144f9b1ba94aac4290682f1000bb3f7b218.tar.gz
gdb-f91c3144f9b1ba94aac4290682f1000bb3f7b218.tar.bz2
* ld-cdtest/cdtest-foo.cc (strncpy): Fix parameter name.
Diffstat (limited to 'ld/testsuite/ld-cdtest/cdtest-foo.cc')
-rw-r--r--ld/testsuite/ld-cdtest/cdtest-foo.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-cdtest/cdtest-foo.cc b/ld/testsuite/ld-cdtest/cdtest-foo.cc
index db76b02..d8e5cbe 100644
--- a/ld/testsuite/ld-cdtest/cdtest-foo.cc
+++ b/ld/testsuite/ld-cdtest/cdtest-foo.cc
@@ -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*, ...);
};