diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2001-07-24 14:12:05 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-07-24 14:12:05 +0000 |
commit | f0cb9537214cd3bcb60e3b3f49580ea11153ff10 (patch) | |
tree | 406ef9426f8d043031e8e848c605676a503dd041 /usr.bin/find/misc.c | |
parent | ac3c230c828d3fef1f9468266028cfd13809393f (diff) | |
download | src-f0cb9537214cd3bcb60e3b3f49580ea11153ff10.tar.gz src-f0cb9537214cd3bcb60e3b3f49580ea11153ff10.zip |
Remove emalloc and expand to the malloc + error checking it was, where used.
Notes
Notes:
svn path=/head/; revision=80291
Diffstat (limited to 'usr.bin/find/misc.c')
-rw-r--r-- | usr.bin/find/misc.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/usr.bin/find/misc.c b/usr.bin/find/misc.c index 36045a3a5edd..6e19403fd174 100644 --- a/usr.bin/find/misc.c +++ b/usr.bin/find/misc.c @@ -115,18 +115,3 @@ queryuser(argv) } return (first == 'y'); } - -/* - * emalloc -- - * malloc with error checking. - */ -void * -emalloc(len) - u_int len; -{ - void *p; - - if ((p = malloc(len)) == NULL) - err(1, NULL); - return (p); -} |