summaryrefslogtreecommitdiff
path: root/testsuite/copy.c
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2005-08-15 23:26:04 +0000
committerDavid Schleef <ds@schleef.org>2005-08-15 23:26:04 +0000
commitd0e03fd5e89c258ab1be3b4e1ec6013fd2bd1398 (patch)
tree558f01f766c72bcb14454f5a0638469954c3406e /testsuite/copy.c
parentec572e49fb3423767ab7d562c5ef0aa2ad4ff38b (diff)
downloadliboil-d0e03fd5e89c258ab1be3b4e1ec6013fd2bd1398.tar.gz
* testsuite/abs.c: (test), (main): remove glib usage in testsuite
* testsuite/copy.c: (test), (main): * testsuite/md5.c: (test), (main): * testsuite/md5_profile.c: (test), (main): * testsuite/trans.c: (test), (main):
Diffstat (limited to 'testsuite/copy.c')
-rw-r--r--testsuite/copy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/copy.c b/testsuite/copy.c
index a8b0a1e..a96a4c9 100644
--- a/testsuite/copy.c
+++ b/testsuite/copy.c
@@ -5,7 +5,7 @@
#include <liboil/liboil.h>
#include <liboil/liboilfunction.h>
-#include <glib.h>
+#include <stdio.h>
#include <string.h>
uint8_t dest[200];
@@ -24,7 +24,7 @@ void test(void)
oil_copy_u8 (dest + 8, src + 0, 64);
for(i=0;i<100;i++){
- g_print("%d\n",dest[i]);
+ printf("%d\n",dest[i]);
}
}
@@ -41,9 +41,9 @@ int main (int argc, char *argv[])
oil_class_choose_by_name (klass, "copy_u8_altivec");
impl = klass->chosen_impl;
if (oil_impl_is_runnable (impl)) {
- g_print("chosen=%p\n", impl);
+ printf("chosen=%p\n", impl);
impl = klass->reference_impl;
- g_print("ref=%p\n", impl);
+ printf("ref=%p\n", impl);
test();
}