diff options
author | Craig A. Berry <craigberry@mac.com> | 2009-11-21 11:09:47 -0600 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2009-11-21 11:09:47 -0600 |
commit | 2e05a54c0c3f7ee3e0363f0309bb362649aa71c4 (patch) | |
tree | 00afea0f350bded21c4dba08a0cefa7aa9e19ca6 /vms | |
parent | 0b93a7997e668a672f4c77f82ec1c83b5f39445c (diff) | |
download | perl-2e05a54c0c3f7ee3e0363f0309bb362649aa71c4.tar.gz |
Declaration nit in vms.c's Perl_my_fwrite.
Don't use register storage class for something we later take the
address of.
Diffstat (limited to 'vms')
-rw-r--r-- | vms/vms.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11289,7 +11289,8 @@ int my_fclose(FILE *fp) { 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; |