diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2017-08-09 02:11:00 -0700 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2017-08-09 02:11:00 -0700 |
commit | 0b998d0cf01d497e998c17c251b241510ba38f3e (patch) | |
tree | 1de6b36768a1e33cc9951a0dc97ccbb22179d6a3 /modules/devices.c | |
parent | 8142484a0a208e061bb056bf7bb5990a823f4bfd (diff) |
Declare proc_cmp() as static
Diffstat (limited to 'modules/devices.c')
-rw-r--r-- | modules/devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/devices.c b/modules/devices.c index 094f9ec3..8f1b19e3 100644 --- a/modules/devices.c +++ b/modules/devices.c @@ -126,7 +126,7 @@ gchar *lginterval = NULL; #include <vendor.h> -gint proc_cmp (Processor *a, Processor *b) { +static gint proc_cmp(Processor *a, Processor *b) { return g_strcmp0(a->model_name, b->model_name); } |