Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 819 → Rev 818

/kernel/trunk/core/dll.inc
388,8 → 388,6
align 4
proc reg_service stdcall, name:dword, handler:dword
 
push ebx
 
xor eax, eax
 
cmp [name], eax
398,11 → 396,14
cmp [handler], eax
je .fail
 
push ebx
mov eax, SRV_SIZE
call malloc ;call alloc_service
pop ebx
test eax, eax
jz .fail
 
push ebx
push esi
push edi
mov edi, eax
428,7 → 429,6
ret
.fail:
xor eax, eax
pop ebx
ret
endp