diff options
| author | Damien George | 2014-12-10 22:07:04 +0000 |
|---|---|---|
| committer | Damien George | 2014-12-10 22:08:14 +0000 |
| commit | 969a6b37bfc655609e540053c2bdcce8a6fdc64d (patch) | |
| tree | 5e7d74f72d702efd07ff6ba6d93d3a10e4e00fd2 /py/asmx86.c | |
| parent | d51107927d53a80835195ba1ac97048c203f05f2 (diff) | |
py: Make functions static where appropriate.
Diffstat (limited to 'py/asmx86.c')
| -rw-r--r-- | py/asmx86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/asmx86.c b/py/asmx86.c index 01966a262..f0dc1e60f 100644 --- a/py/asmx86.c +++ b/py/asmx86.c @@ -325,7 +325,7 @@ void asm_x86_add_r32_r32(asm_x86_t *as, int dest_r32, int src_r32) { asm_x86_generic_r32_r32(as, dest_r32, src_r32, OPCODE_ADD_R32_TO_RM32); } -void asm_x86_add_i32_to_r32(asm_x86_t *as, int src_i32, int dest_r32) { +STATIC void asm_x86_add_i32_to_r32(asm_x86_t *as, int src_i32, int dest_r32) { if (SIGNED_FIT8(src_i32)) { asm_x86_write_byte_2(as, OPCODE_ADD_I8_TO_RM32, MODRM_R32(0) | MODRM_RM_REG | MODRM_RM_R32(dest_r32)); asm_x86_write_byte_1(as, src_i32 & 0xff); |
