diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-07-09 15:24:27 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-07-09 15:24:27 +0200 |
| commit | 7cd82d16cef22481b92ed30c297c3304a4b4a9f9 (patch) | |
| tree | 951b386cf92422c1410e15256d54138636679f59 /src/libtools/obstack.c | |
| parent | dabbca767f9de4fc4cf68252037de3061592eae2 (diff) | |
| download | box64-7cd82d16cef22481b92ed30c297c3304a4b4a9f9.tar.gz box64-7cd82d16cef22481b92ed30c297c3304a4b4a9f9.zip | |
Removed useless box64context_t parameter to RunFunction and friend
Diffstat (limited to 'src/libtools/obstack.c')
| -rwxr-xr-x | src/libtools/obstack.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libtools/obstack.c b/src/libtools/obstack.c index 42b93569..b3f2fc57 100755 --- a/src/libtools/obstack.c +++ b/src/libtools/obstack.c @@ -44,7 +44,7 @@ GO(4) static uintptr_t my_chunkfun_fct_##A = 0; \ static void* my_chunkfun_##A(size_t a) \ { \ - return (void*)RunFunction(my_context, my_chunkfun_fct_##A, 1, a); \ + return (void*)RunFunction(my_chunkfun_fct_##A, 1, a); \ } SUPER() #undef GO @@ -77,7 +77,7 @@ static void* reverse_chunkfunFct(library_t* lib, void* fct) static uintptr_t my_freefun_fct_##A = 0; \ static void my_freefun_##A(void* a) \ { \ - RunFunction(my_context, my_freefun_fct_##A, 1, a); \ + RunFunction(my_freefun_fct_##A, 1, a); \ } SUPER() #undef GO @@ -239,7 +239,7 @@ void actual_obstack_alloc_failed_handler() { if(ref_obstack_alloc_failed_handler == my_obstack_alloc_failed_handler) real_obstack_alloc_failed_handler(); - RunFunction(my_context, (uintptr_t)my_obstack_alloc_failed_handler, 0); + RunFunction((uintptr_t)my_obstack_alloc_failed_handler, 0); } void obstackSetup() { |