diff options
author | raveit65 <[email protected]> | 2020-09-01 15:27:15 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-09-03 22:08:43 +0200 |
commit | 02954e103de5b722c99407c68d04f77acd9e15e0 (patch) | |
tree | 818f8ee6496c9a639bdd092143a05416efcd095e /battstat/apmlib/apm.h | |
parent | 1fc3cf73ca2e390bdb0ede31390139bde33b26cf (diff) | |
download | mate-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/apmlib/apm.h')
-rw-r--r-- | battstat/apmlib/apm.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/battstat/apmlib/apm.h b/battstat/apmlib/apm.h index 5b44ab71..619c704d 100644 --- a/battstat/apmlib/apm.h +++ b/battstat/apmlib/apm.h @@ -51,22 +51,22 @@ typedef struct apm_info } apm_info; -extern int apm_exists(void); -extern int apm_read(apm_info * i); -extern dev_t apm_dev(void); -extern int apm_open(void); -extern int apm_close(int fd); -extern int apm_get_events(int fd, int timeout, apm_event_t * events, int n); -extern int apm_suspend(int fd); -extern int apm_standby(int fd); -extern int apm_set_ignore(int fd, int mode); -extern unsigned int apm_last_error(int fd); -extern const char *apm_error_name( unsigned int err ); -extern int apm_reject(int fd); -extern const char *apm_event_name(apm_event_t event); -extern const char *apm_time(time_t t); -extern const char *apm_delta_time(time_t then, time_t now); -extern const char *apm_time_nosec(time_t t); +extern int apm_exists (void); +extern int apm_read (apm_info * i); +extern dev_t apm_dev (void); +extern int apm_open (void); +extern int apm_close (int fd); +extern int apm_get_events (int fd, int timeout, apm_event_t * events, int n); +extern int apm_suspend (int fd); +extern int apm_standby (int fd); +extern int apm_set_ignore (int fd, int mode); +extern unsigned int apm_last_error (int fd); +extern const char *apm_error_name (unsigned int err); +extern int apm_reject (int fd); +extern const char *apm_event_name (apm_event_t event); +extern const char *apm_time (time_t t); +extern const char *apm_delta_time (time_t then, time_t now); +extern const char *apm_time_nosec (time_t t); #define SUSPEND 0 #define STANDBY 1 @@ -79,4 +79,4 @@ extern const char *apm_time_nosec(time_t t); #define APM_REJECT_ENABLED #endif -#endif /* __APM_H__ */ +#endif /* __APM_H__ */ |