comparison tools/objlink.c @ 2559:32c2375fda16

Rename variable.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 27 Feb 2022 17:57:58 +0200
parents 1bfa05ccc88d
children ac2e60f4bfc3
comparison
equal deleted inserted replaced
2558:1bfa05ccc88d 2559:32c2375fda16
214 "\n" 214 "\n"
215 ); 215 );
216 } 216 }
217 217
218 218
219 off_t dmGetFileSize(FILE *f) 219 off_t dmGetFileSize(FILE *fh)
220 { 220 {
221 off_t len, pos = ftell(f); 221 off_t len, pos = ftell(fh);
222 fseeko(f, 0, SEEK_END); 222 fseeko(fh, 0, SEEK_END);
223 len = ftell(f); 223 len = ftell(fh);
224 fseek(f, pos, SEEK_SET); 224 fseek(fh, pos, SEEK_SET);
225 return len; 225 return len;
226 } 226 }
227 227
228 228
229 /* Memory block handling 229 /* Memory block handling