summaryrefslogtreecommitdiffhomepage
path: root/bridge.c
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2018-11-17 18:41:16 +0100
committerHans Dedecker <dedeckeh@gmail.com>2018-11-19 09:02:29 +0100
commit70506bf09b8ef971ae90155bc86ef3e9bed6785f (patch)
treea429f5c7443721e53ce6a8dd7a118a70f6c70088 /bridge.c
parentd9872db72eb63e9fa454446756e10fc7c52effc5 (diff)
treewide: make some functions static
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'bridge.c')
-rw-r--r--bridge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge.c b/bridge.c
index 8876871..da450a1 100644
--- a/bridge.c
+++ b/bridge.c
@@ -77,7 +77,7 @@ static struct device *bridge_create(const char *name, struct device_type *devtyp
static void bridge_config_init(struct device *dev);
static void bridge_free(struct device *dev);
static void bridge_dump_info(struct device *dev, struct blob_buf *b);
-enum dev_change_type
+static enum dev_change_type
bridge_reload(struct device *dev, struct blob_attr *attr);
static struct device_type bridge_device_type = {
@@ -633,7 +633,7 @@ bridge_apply_settings(struct bridge_state *bst, struct blob_attr **tb)
cfg->bridge_empty = blobmsg_get_bool(cur);
}
-enum dev_change_type
+static enum dev_change_type
bridge_reload(struct device *dev, struct blob_attr *attr)
{
struct blob_attr *tb_dev[__DEV_ATTR_MAX];