Craig A. Berry [Sat, 21 Nov 2009 17:09:47 +0000 (11:09 -0600)]
Don't use register storage class for something we later take the
address of.
int
my_fwrite(const void *src, size_t itmsz, size_t nitm, FILE *dest)
{
- register char *cp, *end, *cpd, *data;
+ register char *cp, *end, *cpd;
+ char *data;
register unsigned int fd = fileno(dest);
register unsigned int fdoff = fd / sizeof(unsigned int);
int retval;