summaryrefslogtreecommitdiffstats
path: root/utils/gssd/write_bytes.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-09-09 10:27:17 -0400
committerSteve Dickson <steved@redhat.com>2010-09-09 10:27:17 -0400
commitb7df3370555877598d9f2ef49fae2ad4458e9f72 (patch)
tree16899862bb7d82e37cf0643d53cafc72a177f2b0 /utils/gssd/write_bytes.h
parent60abb9889cea52022adf9c8bb946e9d19d79f9ed (diff)
downloadnfs-utils-b7df3370555877598d9f2ef49fae2ad4458e9f72.tar.gz
nfs-utils-b7df3370555877598d9f2ef49fae2ad4458e9f72.tar.xz
nfs-utils-b7df3370555877598d9f2ef49fae2ad4458e9f72.zip
libexport.a: Refactor init_netmask()
Instead of a single function that can handle both AF_INET and AF_INET6 addresses, two separate functions might be cleaner. The original plan was to keep code redundancy at a minimum, but the resulting code was cumbersome at best. I think I've traded a little extra code for something that will be much easier to read, understand, and maintain. I've also eliminated the "#if / #endif" instances inside the functions. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/write_bytes.h')
0 files changed, 0 insertions, 0 deletions