mirror of
https://gitlab.freedesktop.org/upower/power-profiles-daemon.git
synced 2026-05-06 05:38:02 +02:00
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:
parent
c45e572860
commit
3a84c5b77c
1 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue