diff options
author | rbuj <[email protected]> | 2021-10-27 17:46:47 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-11-21 15:08:09 +0100 |
commit | 8281e9833a31d8731e8dd405fea2b1138dcc4ff8 (patch) | |
tree | d1bc46ccb1855b1fb892779f25a2a333a9962820 /battstat/apmlib | |
parent | bb0195c17052309b55c23629e24465e1ef4dc70c (diff) | |
download | mate-applets-8281e9833a31d8731e8dd405fea2b1138dcc4ff8.tar.bz2 mate-applets-8281e9833a31d8731e8dd405fea2b1138dcc4ff8.tar.xz |
Use a blank line at most
Diffstat (limited to 'battstat/apmlib')
-rw-r--r-- | battstat/apmlib/apmlib.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/battstat/apmlib/apmlib.c b/battstat/apmlib/apmlib.c index d7125f74..f0147ae1 100644 --- a/battstat/apmlib/apmlib.c +++ b/battstat/apmlib/apmlib.c @@ -47,7 +47,6 @@ apm_exists (void) return apm_read (&i); } - /* Read information from /proc/apm. Return 0 on success, 1 if APM not * installed, 2 if APM installed, but old version. */ @@ -167,7 +166,6 @@ apm_read (apm_info * i) return retcode; } - /* Lookup the device number for the apm_bios device. */ dev_t apm_dev (void) { @@ -207,7 +205,6 @@ dev_t apm_dev (void) return cached = -1; } - /* Return a file descriptor for the apm_bios device, or -1 if there is an * error. Is this method secure? Should we make the device in /dev * instead of /tmp? @@ -242,7 +239,6 @@ apm_open (void) return -1; } - /* Given a file descriptor for the apm_bios device, close it. */ int apm_close (int fd) @@ -278,7 +274,6 @@ apm_get_events (int fd, int timeout, apm_event_t * events, int n) return read (fd, events, n * sizeof (apm_event_t)) / sizeof (apm_event_t); } - /* Try to set the Power State to Suspend. */ int apm_suspend (int fd) @@ -287,7 +282,6 @@ apm_suspend (int fd) return ioctl (fd, APM_IOC_SUSPEND, NULL); } - /* Try to set the Power State to Standby. */ int apm_standby (int fd) @@ -425,7 +419,6 @@ apm_event_name (apm_event_t event) return "Unknown"; } - /* This is a convenience function that has nothing to do with APM. It just * formats a time nicely. If you don't like this format, then write your * own. |