summaryrefslogtreecommitdiffstats
path: root/support/include/xlog.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2008-09-26 16:10:48 -0400
committerSteve Dickson <steved@redhat.com>2008-09-26 16:10:48 -0400
commit173f4c79c08a947742970a5e12d529249c2c3631 (patch)
tree0f286f98706cdebc688708e2af4f89dc652dfc65 /support/include/xlog.h
parent7de004227d2a95ac10a591a68f95057a242d8dc0 (diff)
downloadnfs-utils-173f4c79c08a947742970a5e12d529249c2c3631.tar.gz
nfs-utils-173f4c79c08a947742970a5e12d529249c2c3631.tar.xz
nfs-utils-173f4c79c08a947742970a5e12d529249c2c3631.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 'support/include/xlog.h')
0 files changed, 0 insertions, 0 deletions