diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-09-13 11:44:05 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2022-09-13 13:34:49 -0400 |
commit | 167f2336b06e1bcbf26f45f2ddc4a535fed4d393 (patch) | |
tree | 9cfdc2c584422d20ba2ce856c82391e336206d10 /utils/mount/network.c | |
parent | 896946e3c7f8ec1a02d4dc3a039e6cbbd2f611a9 (diff) | |
download | nfs-utils-167f2336b06e1bcbf26f45f2ddc4a535fed4d393.tar.gz |
Fix function prototypes
Clang is now erroring out on functions with out parameter types
Fixes errors like
error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mount/network.c')
-rw-r--r-- | utils/mount/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/mount/network.c b/utils/mount/network.c index ed2f825..01ead49 100644 --- a/utils/mount/network.c +++ b/utils/mount/network.c @@ -179,7 +179,7 @@ static const unsigned long probe_mnt3_only[] = { static const unsigned int *nfs_default_proto(void); #ifdef MOUNT_CONFIG -static const unsigned int *nfs_default_proto() +static const unsigned int *nfs_default_proto(void) { extern unsigned long config_default_proto; /* |