diff options
author | Himanshu40 <himanshuwindows8.1@gmail.com> | 2018-12-14 00:53:11 +0530 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2018-12-14 10:28:33 -0600 |
commit | 4bd2f802a93a5724c99fed9caafcbae9ccf41ac0 (patch) | |
tree | ee38d9c4c7502d52fbd9d61e59840dfddf968722 /testsuites/psxtests/psxhdrs/strings/bcopy.c | |
parent | psxhdrs: Changed the copyright license to BSD-2-Clause (GCI 2018) (diff) | |
download | rtems-4bd2f802a93a5724c99fed9caafcbae9ccf41ac0.tar.bz2 |
Some minor fix on psxhdrs
Diffstat (limited to 'testsuites/psxtests/psxhdrs/strings/bcopy.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/strings/bcopy.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/testsuites/psxtests/psxhdrs/strings/bcopy.c b/testsuites/psxtests/psxhdrs/strings/bcopy.c index 8f7f31db98..26cca2f479 100644 --- a/testsuites/psxtests/psxhdrs/strings/bcopy.c +++ b/testsuites/psxtests/psxhdrs/strings/bcopy.c @@ -38,15 +38,12 @@ int test( void ); -int result = 1; - int test( void ) { auto char buffer[50]; bcopy( "Hello ", buffer, 6 ); bcopy( "world", &buffer[6], 6 ); - result = 0; - return result; + return 0; } |