Kaleb KEITHLEY has uploaded this change for review.

View Change

ganesha: Build with Modern C

GCC and Clang communities are hinting that in versions 14 and 16
respectively they will deprecate or disable legacy C89 features,
e.g. K&R1 style function definitions, among others.

In parallel, Fedora is going to start enforcing C99 as the minimum,
expected to land in F40. (I.e. around Spring 2024 IIRC.)

Currently Fedora is recommending that use of -Werror=implicit-int,
-Werror=implicit-function-declaration, -Werror=int-conversion,
-Werror=strict-prototypes, and -Werror=old-style-definition a set
of options to build with in the mean time to clean up code.

Change-Id: I94e1c6d1442524d4e9e594605b20479fb3d5fd62
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
---
M src/Protocols/NFS/nfs3_readdir.c
M src/Protocols/NFS/nfs3_readdirplus.c
M src/Protocols/NFS/nfs_proto_tools.c
M src/Protocols/XDR/xdr_mount.c
4 files changed, 52 insertions(+), 54 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/19/545319/1

To view, visit change 545319. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I94e1c6d1442524d4e9e594605b20479fb3d5fd62
Gerrit-Change-Number: 545319
Gerrit-PatchSet: 1
Gerrit-Owner: Kaleb KEITHLEY <kaleb@redhat.com>
Gerrit-MessageType: newchange