summaryrefslogtreecommitdiffstats
path: root/utils/mount/nfs.man
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2008-10-08 10:45:12 -0400
committerSteve Dickson <steved@redhat.com>2008-10-08 10:45:12 -0400
commit695906482ffc0c3778c3df765cf980d19da25414 (patch)
treedb9b547e1c520abf7d103f1b5219f814aa81aebf /utils/mount/nfs.man
parent6e419afa493acc1c88fbc4d1a27bfb1784c1297a (diff)
downloadnfs-utils-695906482ffc0c3778c3df765cf980d19da25414.tar.gz
nfs-utils-695906482ffc0c3778c3df765cf980d19da25414.tar.xz
nfs-utils-695906482ffc0c3778c3df765cf980d19da25414.zip
nfs-utils: make makesock() static
Clean up: The makesock() function can become static since it is only used in rpcmisc.c, where it is defined. Fix some minor nits while we're in the area: o Move it so we can remove it's forward declaration. o Get rid of unneeded newlines in the xlog() format strings. o Use htonl(INADDR_ANY) instead of INADDR_ANY to initialize sin_addr. Should make no run-time difference, but is slightly more proper, as the standard definition of INADDR_ANY is in host byte-order. o Remove the parentheses in the "return" statements. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mount/nfs.man')
0 files changed, 0 insertions, 0 deletions