summaryrefslogtreecommitdiff
path: root/tests/port
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-02-17 14:19:08 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-02-17 14:19:08 +0100
commit7dd9fc654c692f23bf88f43c520a0cc8414e2fc1 (patch)
treee55ea96c27f96076d3e06ac537d95cf1788ced63 /tests/port
parent6415fd5dcd8e663661145476c7e2e1b41b927d10 (diff)
downloadwolfbones-7dd9fc654c692f23bf88f43c520a0cc8414e2fc1.tar.gz
wolfbones-7dd9fc654c692f23bf88f43c520a0cc8414e2fc1.tar.bz2
renamed porting stub functions to functions with prefix wolf_port_
Diffstat (limited to 'tests/port')
-rw-r--r--tests/port/test_strdup.c2
-rw-r--r--tests/port/test_strerror_r.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/port/test_strdup.c b/tests/port/test_strdup.c
index 9cc1be6..fd1c843 100644
--- a/tests/port/test_strdup.c
+++ b/tests/port/test_strdup.c
@@ -8,7 +8,7 @@
int main( void ) {
const char *s = "test";
- char *d = wolf_strdup( s );
+ char *d = wolf_port_strdup( s );
free( d );
exit( EXIT_SUCCESS );
}
diff --git a/tests/port/test_strerror_r.c b/tests/port/test_strerror_r.c
index 3f95f06..72b41c5 100644
--- a/tests/port/test_strerror_r.c
+++ b/tests/port/test_strerror_r.c
@@ -16,7 +16,7 @@ int main( void ) {
for( i = 0; i < 255; i++ ) {
errno = 0;
*buf = '\0';
- res = wolf_strerror_r( i, buf, 1024 );
+ res = wolf_port_strerror_r( i, buf, 1024 );
printf( "%d: %d \"%s\"\n", i, res, buf );
}
exit( EXIT_SUCCESS );