From a5b2314405d4b95006903108ad40a028e7e793a9 Mon Sep 17 00:00:00 2001 From: mmdolze Date: Fri, 8 May 2009 17:14:45 +0000 Subject: [PATCH] Remove incorrect or inconsistenly used cvs keywords --- clients/lcdproc/util.c | 57 +++++++++++++++++--------------------- clients/lcdproc/util.h | 51 +++++++++++++++------------------- contrib/patches/ppdev.diff | 2 +- server/drivers/port.h | 2 +- 4 files changed, 49 insertions(+), 63 deletions(-) diff --git a/clients/lcdproc/util.c b/clients/lcdproc/util.c index 12bc339..f2ed6cd 100644 --- a/clients/lcdproc/util.c +++ b/clients/lcdproc/util.c @@ -1,31 +1,24 @@ -/****************************************************************************** -* -* util.c - utility functions to print some numerical values in a nice fashion -* Copyright (C) 2005 Peter Marschall -* -* --- -* -* 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 -* of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -* -* --- -* -* $Source$ -* $Revision$ -* Checked in by: $Author$ -* -*******************************************************************************/ +/** \file clients/lcdproc/util.c + * Utility functions to print some numerical values in a nice fashion + */ + +/* + * Copyright (C) 2005 Peter Marschall + * + * 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 + * of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301. + */ #include "util.h" @@ -50,8 +43,8 @@ sprintf_memory(char *dst, double value, double roundlimit) format = "%.3f%s"; sprintf(dst, format, value, unit); - } - return dst; + } + return dst; } @@ -68,7 +61,7 @@ sprintf_percent(char *dst, double percent) strcpy(dst, "100%"); else sprintf(dst, "%.1f%%", (percent >= 0) ? percent : 0); - } + } return dst; } @@ -99,7 +92,7 @@ convert_double(double *value, int base, double roundlimit) off++; *value /= base; } - return units[off]; + return units[off]; } /* EOF */ diff --git a/clients/lcdproc/util.h b/clients/lcdproc/util.h index 6f3a8ff..8f01b41 100644 --- a/clients/lcdproc/util.h +++ b/clients/lcdproc/util.h @@ -1,35 +1,28 @@ -/****************************************************************************** -* -* util.h - header file for util.c -* Copyright (C) 2005 Peter Marschall -* -* --- -* -* 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 -* of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -* -* --- -* -* $Source$ -* $Revision$ -* Checked in by: $Author$ -* -*******************************************************************************/ +/** \file clients/lcdproc/util.h + * Header file for \c util.c + */ + +/* + * Copyright (C) 2005 Peter Marschall + * + * 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 + * of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ #ifndef LCDPROC_UTIL_H -# define LCDPROC_UTIL_H +#define LCDPROC_UTIL_H #include #include diff --git a/contrib/patches/ppdev.diff b/contrib/patches/ppdev.diff index dbb97aa..d96e09e 100644 --- a/contrib/patches/ppdev.diff +++ b/contrib/patches/ppdev.diff @@ -89,7 +89,7 @@ --- server/drivers/port.c +++ server/drivers/port.c 2006-03-26 19:45:58.416006888 -0300 @@ -0,0 +1,254 @@ -+/* $id$ ++/* + * Low level ppdev based I/O functions + * + * This file is released under the GPL. See file COPYING in this diff --git a/server/drivers/port.h b/server/drivers/port.h index 0791313..ff9af24 100644 --- a/server/drivers/port.h +++ b/server/drivers/port.h @@ -1,4 +1,4 @@ -/* $id$ +/* * Low level I/O functions taken from led-stat.txt * Jan 22 95 copyright damianf@wpi.edu *