mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-05 06:50:21 +02:00
Resync with new patch to make functions receive a const argument
This commit is contained in:
parent
e98640e1ac
commit
85ab988cd1
6 changed files with 17 additions and 17 deletions
|
@ -39,7 +39,7 @@ static jit_free_func_ptr jit_free_ptr = jit_default_free_func;
|
|||
* Implementation
|
||||
*/
|
||||
jit_pointer_t
|
||||
jit_memcpy(jit_pointer_t dst, jit_const_pointer_t src, jit_word_t size)
|
||||
jit_memcpy(jit_pointer_t dst, const void * src, jit_word_t size)
|
||||
{
|
||||
if (size)
|
||||
return (memcpy(dst, src, size));
|
||||
|
@ -47,7 +47,7 @@ jit_memcpy(jit_pointer_t dst, jit_const_pointer_t src, jit_word_t size)
|
|||
}
|
||||
|
||||
jit_pointer_t
|
||||
jit_memmove(jit_pointer_t dst, jit_const_pointer_t src , jit_word_t size)
|
||||
jit_memmove(jit_pointer_t dst, const void *src , jit_word_t size)
|
||||
{
|
||||
if (size)
|
||||
return (memmove(dst, src, size));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue