utils: Fix implicit declaration

The declaration was still using the old name.

src/ppd-action-trickle-charge.c: In function ‘set_charge_type’:
src/ppd-action-trickle-charge.c:61:5: warning: implicit declaration of function ‘ppd_utils_write_sysfs’ [-Wimplicit-function-declaration]
   61 |     ppd_utils_write_sysfs (dev, CHARGE_TYPE_SYSFS_NAME, charge_type, NULL);
      |     ^~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
Bastien Nocera 2020-08-05 11:18:35 +02:00
parent c45e572860
commit 3a84c5b77c

View file

@ -11,7 +11,7 @@
#include <gudev/gudev.h>
gboolean write_sysfs (GUdevDevice *device,
const char *attribute,
const char *value,
GError **error);
gboolean ppd_utils_write_sysfs (GUdevDevice *device,
const char *attribute,
const char *value,
GError **error);