diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-02-17 14:19:08 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-02-17 14:19:08 +0100 |
commit | 7dd9fc654c692f23bf88f43c520a0cc8414e2fc1 (patch) | |
tree | e55ea96c27f96076d3e06ac537d95cf1788ced63 /src/port/string.c | |
parent | 6415fd5dcd8e663661145476c7e2e1b41b927d10 (diff) | |
download | wolfbones-7dd9fc654c692f23bf88f43c520a0cc8414e2fc1.tar.gz wolfbones-7dd9fc654c692f23bf88f43c520a0cc8414e2fc1.tar.bz2 |
renamed porting stub functions to functions with prefix wolf_port_
Diffstat (limited to 'src/port/string.c')
-rw-r--r-- | src/port/string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port/string.c b/src/port/string.c index 74cf31c..805f38a 100644 --- a/src/port/string.c +++ b/src/port/string.c @@ -26,7 +26,7 @@ #include <stdlib.h> /* for malloc, NULL */ -char *wolf_strdup( const char *s ) { +char *wolf_port_strdup( const char *s ) { char *d; d = (char *)malloc( strlen( s ) + 1 ); if( d == NULL ) return NULL; @@ -51,7 +51,7 @@ extern int dummy; /* prevent ISO C forbids an empty source file' warning */ #include <sys/types.h> /* for size_t */ #include <errno.h> /* for errno */ -int wolf_strerror_r( int num, char *buf, size_t buflen ) { +int wolf_port_strerror_r( int num, char *buf, size_t buflen ) { const char *msg; int len; |