diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2010-03-22 10:13:15 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-03-22 10:13:15 -0400 |
commit | 5f722d8855ebcb2d041e182c8c69c8cbee4bf408 (patch) | |
tree | 768b93bf5b044098ba7e3858de1de8b0bcd3d1eb /support/include/exportfs.h | |
parent | aa4c771fc359e097a3a6c3637f78c7bed7c450e9 (diff) | |
download | nfs-utils-5f722d8855ebcb2d041e182c8c69c8cbee4bf408.tar.gz nfs-utils-5f722d8855ebcb2d041e182c8c69c8cbee4bf408.tar.xz nfs-utils-5f722d8855ebcb2d041e182c8c69c8cbee4bf408.zip |
libexport.a: Clean up client_compose() and client_member()
Clean up: Replace outdated comments, and fix some function
declarations. Use proper type for a couple of automatic variables.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include/exportfs.h')
-rw-r--r-- | support/include/exportfs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/support/include/exportfs.h b/support/include/exportfs.h index 3eb03d9..9a19cbb 100644 --- a/support/include/exportfs.h +++ b/support/include/exportfs.h @@ -77,7 +77,8 @@ void client_release(nfs_client *); void client_freeall(void); char * client_compose(struct hostent *he); struct hostent * client_resolve(struct in_addr addr); -int client_member(char *client, char *name); +int client_member(const char *client, + const char *name); int export_read(char *fname); void export_add(nfs_export *); |