]> git.decadent.org.uk Git - nfs-utils.git/commit
mount.nfs: Eliminate compiler warning in utils/mount/mount.c
authorChuck Lever <chuck.lever@oracle.com>
Wed, 13 Oct 2010 15:44:23 +0000 (11:44 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 14 Oct 2010 14:26:58 +0000 (10:26 -0400)
commit00885013dccbe00f5cc4e19223cf18e85a8e616a
treed7b27f2d56c629fdab08299105ae5dde7941afe4
parentffa577350b03ddd421d455a8cd4cff86e3718264
mount.nfs: Eliminate compiler warning in utils/mount/mount.c

Clean up.

In file included from mount.c:41:
mount_config.h:35: warning: no previous prototype for mount_config_opts

Functions defined in include files are usually declared as "static
inline," eliminating the need for a forward declaration.

While I was there, I also fixed the macro that prevents including
mount_config.h multiple times, and fixed some white space damage.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/mount_config.h