summaryrefslogtreecommitdiff
path: root/battstat/acpi-linux.h
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2020-09-01 15:27:15 +0200
committerraveit65 <[email protected]>2020-09-03 22:08:43 +0200
commit02954e103de5b722c99407c68d04f77acd9e15e0 (patch)
tree818f8ee6496c9a639bdd092143a05416efcd095e /battstat/acpi-linux.h
parent1fc3cf73ca2e390bdb0ede31390139bde33b26cf (diff)
downloadmate-applets-02954e103de5b722c99407c68d04f77acd9e15e0.tar.bz2
mate-applets-02954e103de5b722c99407c68d04f77acd9e15e0.tar.xz
battstat: improve code-style
- tab to spaces - fix indents - add a space before brackets
Diffstat (limited to 'battstat/acpi-linux.h')
-rw-r--r--battstat/acpi-linux.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/battstat/acpi-linux.h b/battstat/acpi-linux.h
index 3550935d..572bf0e5 100644
--- a/battstat/acpi-linux.h
+++ b/battstat/acpi-linux.h
@@ -22,18 +22,18 @@
#define __ACPI_LINUX_H__
struct acpi_info {
- const char *ac_state_state, *batt_state_state, *charging_state;
- gboolean ac_online;
- int event_fd;
- int max_capacity;
- int low_capacity;
- int critical_capacity;
- GIOChannel * channel;
+ const char *ac_state_state, *batt_state_state, *charging_state;
+ gboolean ac_online;
+ int event_fd;
+ int max_capacity;
+ int low_capacity;
+ int critical_capacity;
+ GIOChannel * channel;
};
-gboolean acpi_linux_read(struct apm_info *apminfo, struct acpi_info * acpiinfo);
-gboolean acpi_process_event(struct acpi_info * acpiinfo);
-gboolean acpi_linux_init(struct acpi_info * acpiinfo);
-void acpi_linux_cleanup(struct acpi_info * acpiinfo);
+gboolean acpi_linux_read (struct apm_info *apminfo, struct acpi_info * acpiinfo);
+gboolean acpi_process_event (struct acpi_info * acpiinfo);
+gboolean acpi_linux_init (struct acpi_info * acpiinfo);
+void acpi_linux_cleanup (struct acpi_info * acpiinfo);
#endif /* __ACPI_LINUX_H__ */