Prefix ox stdlib functions with ox_

This commit is contained in:
2016-09-07 23:45:36 -05:00
parent c6d35aac3b
commit a4e7b7fd08
8 changed files with 36 additions and 36 deletions
+4 -4
View File
@@ -23,21 +23,21 @@ int test() {
if (fs->write(1, (void*) "Hello", 6) ||
fs->read(1, (char*) out, &outSize) ||
strcmp("Hello", out)) {
ox_strcmp("Hello", out)) {
printf("Failure 1\n");
return 1;
}
if (fs->write(2, (void*) "World", 6) ||
fs->read(2, (char*) out, &outSize) ||
strcmp("World", out)) {
ox_strcmp("World", out)) {
printf("Failure 2\n");
return 2;
}
// make sure first value was not overwritten
if (fs->read(1, (char*) out, &outSize) ||
strcmp("Hello", out)) {
ox_strcmp("Hello", out)) {
printf("Failure 3\n");
return 3;
}
@@ -56,7 +56,7 @@ int test() {
// make sure 2 is still available
if (fs->write(2, (void*) "World", 6) ||
fs->read(2, (char*) out, &outSize) ||
strcmp("World", out)) {
ox_strcmp("World", out)) {
printf("Failure 6\n");
return 6;
}