diff options
author | Paul Smith <psmith@gnu.org> | 2006-04-09 22:09:24 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2006-04-09 22:09:24 +0000 |
commit | 8b40defd1e1e486fd04d87c4b1a5ce233f145413 (patch) | |
tree | 3a3bed68bb3377d1a2a28ef8e1a56a269bc7b675 /vmsfunctions.c | |
parent | 21a5b2c58dc9198560f81895c24abd9b62aa058c (diff) | |
download | make-8b40defd1e1e486fd04d87c4b1a5ce233f145413.tar.gz |
Another round of cleanups:
- Add more warnings.
- Rename variables that mask out-scope vars with the same name.
- Remove all casts of return values from xmalloc, xrealloc, and alloca.
- Remove casts of the first argument to xrealloc.
- Convert all bcopy/bzero/bcmp invocations to use memcp/memmove/memset/memcmp.
Diffstat (limited to 'vmsfunctions.c')
-rw-r--r-- | vmsfunctions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vmsfunctions.c b/vmsfunctions.c index 8cb0ddda..589a7210 100644 --- a/vmsfunctions.c +++ b/vmsfunctions.c @@ -37,7 +37,7 @@ opendir (char *dspec) struct DIR *dir = (struct DIR *)xmalloc (sizeof (struct DIR)); struct NAM *dnam = (struct NAM *)xmalloc (sizeof (struct NAM)); struct FAB *dfab = &dir->fab; - char *searchspec = (char *)xmalloc (MAXNAMLEN + 1); + char *searchspec = xmalloc (MAXNAMLEN + 1); memset (dir, 0, sizeof *dir); |