From b95d45ceb93831905be60e14455aadfb3f0e159e Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Fri, 2 Mar 2001 11:04:08 +0000 Subject: [lcd4linux @ 2001-03-02 11:04:08 by reinelt] cosmetic cleanups (comment headers) --- battery.c | 30 +++++++++++++++++++++++++++--- battery.h | 29 ++++++++++++++++++++++++++++- 2 files changed, 55 insertions(+), 4 deletions(-) diff --git a/battery.c b/battery.c index a4a35e0..319988e 100644 --- a/battery.c +++ b/battery.c @@ -1,6 +1,29 @@ -/* - * battery.c interface to APM and (TODO:) ACPI - * +/* $Id: battery.c,v 1.2 2001/03/02 11:04:08 reinelt Exp $ + * + * APM and ACPI specific functions + * + * Copyright 2001 by Leo Tötsch (lt@toetsch.at) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * + * $Log: battery.c,v $ + * Revision 1.2 2001/03/02 11:04:08 reinelt + * + * cosmetic cleanups (comment headers) + * */ /* exported functions: @@ -12,6 +35,7 @@ * lasting ... seconds, how long battery will last * */ + #include #include #include diff --git a/battery.h b/battery.h index 023323c..d86b491 100644 --- a/battery.h +++ b/battery.h @@ -1,7 +1,34 @@ +/* $Id: battery.h,v 1.2 2001/03/02 11:04:08 reinelt Exp $ + * + * APM and ACPI specific functions + * + * Copyright 2001 by Leo Tötsch (lt@toetsch.at) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * + * $Log: battery.h,v $ + * Revision 1.2 2001/03/02 11:04:08 reinelt + * + * cosmetic cleanups (comment headers) + * + */ + #ifndef _BATTERY_H_ #define _BATTERY_H_ - int Battery ( int *perc, int *stat, double *dur); #endif -- cgit v1.2.3