summaryrefslogtreecommitdiff
path: root/src/network/networkd-fdb.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-03-01 13:19:53 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-03-13 11:59:18 +0900
commit9560e5b3235e30eea2873e507d27ed00331d838c (patch)
treea7becc54b3f000e435f99a7d1f64334e270644f2 /src/network/networkd-fdb.c
parentfa7cd7117ff2158c4d175b0321a0c0393cc4e3ec (diff)
downloadsystemd-9560e5b3235e30eea2873e507d27ed00331d838c.tar.gz
systemd-9560e5b3235e30eea2873e507d27ed00331d838c.tar.bz2
systemd-9560e5b3235e30eea2873e507d27ed00331d838c.zip
network: make all xxx_new_static() static
These functions are called from only config parsers, and the parsers are in the same files. So, let's make them static.
Diffstat (limited to 'src/network/networkd-fdb.c')
-rw-r--r--src/network/networkd-fdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-fdb.c b/src/network/networkd-fdb.c
index 324f6a5a1a..02724938ae 100644
--- a/src/network/networkd-fdb.c
+++ b/src/network/networkd-fdb.c
@@ -18,7 +18,7 @@
#define STATIC_FDB_ENTRIES_PER_NETWORK_MAX 1024U
/* create a new FDB entry or get an existing one. */
-int fdb_entry_new_static(
+static int fdb_entry_new_static(
Network *network,
const char *filename,
unsigned section_line,