diff options
author | Conrad Meyer <cem@FreeBSD.org> | 2018-01-25 22:25:13 +0000 |
---|---|---|
committer | Conrad Meyer <cem@FreeBSD.org> | 2018-01-25 22:25:13 +0000 |
commit | 222daa421ff7cd5c5d551e095a9a179284c038c7 (patch) | |
tree | 7c194451dd8b6870342def7cde7197bbe9679329 /sys/nfsclient | |
parent | d85487b732d0953df242d46d7ed6b042db04bb1a (diff) | |
download | src-222daa421ff7cd5c5d551e095a9a179284c038c7.tar.gz src-222daa421ff7cd5c5d551e095a9a179284c038c7.zip |
style: Remove remaining deprecated MALLOC/FREE macros
Mechanically replace uses of MALLOC/FREE with appropriate invocations of
malloc(9) / free(9) (a series of sed expressions). Something like:
* MALLOC(a, b, ... -> a = malloc(...
* FREE( -> free(
* free((caddr_t) -> free(
No functional change.
For now, punt on modifying contrib ipfilter code, leaving a definition of
the macro in its KMALLOC().
Reported by: jhb
Reviewed by: cy, imp, markj, rmacklem
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D14035
Notes
Notes:
svn path=/head/; revision=328417
Diffstat (limited to 'sys/nfsclient')
-rw-r--r-- | sys/nfsclient/nfsnode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsclient/nfsnode.h b/sys/nfsclient/nfsnode.h index 4839f6e50d0e..3c6856dc7e94 100644 --- a/sys/nfsclient/nfsnode.h +++ b/sys/nfsclient/nfsnode.h @@ -92,7 +92,7 @@ struct nfs_accesscache { * An nfsnode is 'named' by its file handle. (nget/nfs_node.c) * If this structure exceeds 256 bytes (it is currently 256 using 4.4BSD-Lite * type definitions), file handles of > 32 bytes should probably be split out - * into a separate MALLOC()'d data structure. (Reduce the size of nfsfh_t by + * into a separate malloc()'d data structure. (Reduce the size of nfsfh_t by * changing the definition in nfsproto.h of NFS_SMALLFH.) * NB: Hopefully the current order of the fields is such that everything will * be well aligned and, therefore, tightly packed. |