The following commit has been merged in the master branch:
commit efee796f28b53bf3ffc03186f81790c36c23c94c
Author: Cheyenne Wills <[email protected]>
Date: Thu Feb 29 17:53:31 2024 -0700
afs: Add static attribute to internal functions
When building against a Linux 6.8 kernel, functions that are missing
prototypes or declarations are flagged.
We can add the static attribute to functions that are not referenced
outside of the file that implements them to avoid having these functions
flagged by the compiler.
These functions are flagged due to missing prototypes when building
against a Linux 6.8 kernel (which sets the -Wmissing-declarations and
-Wmissing-prototypes compiler flags as default). Linux 6.8 commit:
'Makefile.extrawarn: turn on missing-prototypes globally' (0fcb70851f).
When building against a kernel with CONFIG_WERROR=y, the build fails.
There are no functional changes in this commit.
Change-Id: I24c78a3167f6a81da4f62267cf901024468ae6b3
Reviewed-on: https://gerrit.openafs.org/15625
Tested-by: BuildBot <[email protected]>
Reviewed-by: Benjamin Kaduk <[email protected]>
src/afs/LINUX/osi_file.c | 2 +-
src/afs/LINUX/osi_module.c | 4 ++--
src/afs/LINUX/osi_pag_module.c | 4 ++--
src/afs/afs_call.c | 6 +++---
src/afs/afs_disconnected.c | 20 ++++++++++----------
src/afs/afs_fetchstore.c | 42 +++++++++++++++++++++---------------------
src/afs/afs_icl.c | 4 ++--
src/afs/afs_pag_cred.c | 4 ++--
src/afs/afs_server.c | 2 +-
src/afs/afs_vcache.c | 2 +-
10 files changed, 45 insertions(+), 45 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs