summaryrefslogtreecommitdiff
blob: 2797249523f6b3d87ee438fa0e86c6b9f9d09cc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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);