/* $Id$ */ /* * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * See the copyright notice in the ACK home directory, in the file "Copyright". */ #include "obj.h" void wr_ranlib(fd, ran, cnt1) struct ranlib *ran; long cnt1; { { register long cnt = cnt1; register struct ranlib *r = ran; register char *c = (char *) r; while (cnt--) { put4(r->ran_off,c); c += 4; put4(r->ran_pos,c); c += 4; r++; } } wr_bytes(fd, (char *) ran, cnt1 * SZ_RAN); }