return fd;
}
-int sha1write(struct sha1file *f, const void *buf, unsigned int count)
+void sha1write(struct sha1file *f, const void *buf, unsigned int count)
{
while (count) {
unsigned offset = f->offset;
}
f->offset = offset;
}
- return 0;
}
struct sha1file *sha1fd(int fd, const char *name)