You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
573 B

C99 `inline` is not guaranteed to emit an external definition
https://www.greenend.org.uk/rjk/tech/inline.html
Bug: https://bugs.gentoo.org/922958
--- a/utils/exportd/exportd.c
+++ b/utils/exportd/exportd.c
@@ -53,7 +53,7 @@
*/
inline static void set_signals(void);
-inline void
+inline static void
cleanup_lockfiles (void)
{
unlink(etab.lockfn);
--- a/utils/mountd/mountd.c
+++ b/utils/mountd/mountd.c
@@ -111,7 +111,7 @@
nfs_svc_unregister(MOUNTPROG, MOUNTVERS_NFSV3);
}
-static void
+inline static void
cleanup_lockfiles (void)
{
unlink(etab.lockfn);