Unverified Commit fb2093e7 authored by kladko's avatar kladko

SKALE-2298 Printf

parent da87490c
...@@ -42,15 +42,13 @@ uint64_t oc_realloc (void *optr, size_t osz, size_t nsz) ...@@ -42,15 +42,13 @@ uint64_t oc_realloc (void *optr, size_t osz, size_t nsz)
return (uint64_t) nptr; return (uint64_t) nptr;
} }
void oc_printf ()
{
printf("haha\n");
fprintf( stderr, "haha\n");
}
void oc_free (void *ptr, size_t sz) void oc_free (void *ptr, size_t sz)
{ {
free(ptr); free(ptr);
} }
void oc_printf()
{
printf("haha\n");
}
\ No newline at end of file
...@@ -73,6 +73,7 @@ void free_function(void *, size_t); ...@@ -73,6 +73,7 @@ void free_function(void *, size_t);
void tgmp_init() { void tgmp_init() {
oc_printf();
oc_realloc_func = &reallocate_function; oc_realloc_func = &reallocate_function;
oc_free_func = &free_function; oc_free_func = &free_function;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment