Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6638 → Rev 6639

/programs/fs/kfar/trunk/zlib/zutil.asm
107,13 → 107,8
ret
endp
 
;if DEBUG
 
;# define verbose 0
;int z_verbose = verbose;
 
;void (m)
; char *m;
; char *m
align 4
proc z_error, m:dword
; fprintf(stderr, "%s\n", m);
120,16 → 115,16
; exit(1);
ret
endp
;end if
 
; exported to allow conversion of error code to string for compress() and
; uncompress()
 
;const char * (err)
; int err;
; int err
align 4
proc zError, err:dword
; return ERR_MSG(err);
proc zError uses ecx, err:dword
ERR_MSG [err]
mov eax,ecx
ret
endp
 
136,9 → 131,9
;#ifndef HAVE_MEMCPY
 
;void (dest, source, len)
; Bytef* dest;
; const Bytef* source;
; uInt len;
; Bytef* dest
; const Bytef* source
; uInt len
align 4
proc zmemcpy uses ecx edi esi, dest:dword, source:dword, len:dword
mov ecx,[len]
155,9 → 150,9
endp
 
;int (s1, s2, len)
; const Bytef* s1;
; const Bytef* s2;
; uInt len;
; const Bytef* s1
; const Bytef* s2
; uInt len
align 4
proc zmemcmp, s1:dword, s2:dword, len:dword
; uInt j;
170,8 → 165,8
endp
 
;void (dest, len)
; Bytef* dest;
; uInt len;
; Bytef* dest
; uInt len
align 4
proc zmemzero, dest:dword, len:dword
; if (len == 0) return;
182,8 → 177,6
endp
;end if
 
;#ifndef Z_SOLO
 
;voidpf (voidpf opaque, unsigned items, unsigned size)
align 4
proc zcalloc uses ebx ecx, opaque:dword, items:dword, size:dword
200,4 → 193,3
ret
endp
 
;end if /* !Z_SOLO */