summaryrefslogtreecommitdiff
path: root/src/ndisc
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-02-06 09:04:23 +0100
committerThomas Haller <thaller@redhat.com>2019-02-06 09:31:00 +0100
commitd25ed0820cc2411e2cced0c65c708d4516bde3ce (patch)
tree551e5b9b09f2ef8d6f0fa11916052a8a97df268d /src/ndisc
parentbb341900ddf65b733e2b367d9dd77736cdc1c837 (diff)
downloadNetworkManager-d25ed0820cc2411e2cced0c65c708d4516bde3ce.tar.gz
all: don't use "static inline" in source files
For static functions inside a module, the compiler determines on its own whether to inline the function. Also, "inline" was used at some places that don't immediatly look like candidates for inlining. It was most likely a copy&paste error.
Diffstat (limited to 'src/ndisc')
-rw-r--r--src/ndisc/nm-lndp-ndisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ndisc/nm-lndp-ndisc.c b/src/ndisc/nm-lndp-ndisc.c
index 535480501f..a5bb017133 100644
--- a/src/ndisc/nm-lndp-ndisc.c
+++ b/src/ndisc/nm-lndp-ndisc.c
@@ -536,7 +536,7 @@ start (NMNDisc *ndisc)
/*****************************************************************************/
-static inline int
+static int
ipv6_sysctl_get (NMPlatform *platform, const char *ifname, const char *property, int min, int max, int defval)
{
return nm_platform_sysctl_ip_conf_get_int_checked (platform,