From 4d6ddfa94bbfa545f4b5b751b2a57e15cdf0c711 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 15 Jan 2007 19:33:15 +0100 Subject: [PATCH] load, traffic plugins: Changed license to GPLv2 only. --- src/load.c | 3 +-- src/traffic.c | 10 +--------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/load.c b/src/load.c index 3e60a43c..491a985e 100644 --- a/src/load.c +++ b/src/load.c @@ -4,8 +4,7 @@ * * 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. + * Free Software Foundation; only version 2 of the License is applicable. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/traffic.c b/src/traffic.c index 5c5e4f74..a7b70c58 100644 --- a/src/traffic.c +++ b/src/traffic.c @@ -4,8 +4,7 @@ * * 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. + * Free Software Foundation; only version 2 of the License is applicable. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -47,8 +46,6 @@ # include #endif -#define MODULE_NAME "traffic" - /* * Various people have reported problems with `getifaddrs' and varying versions * of `glibc'. That's why it's disabled by default. Since more statistics are @@ -67,8 +64,6 @@ # define TRAFFIC_HAVE_READ 0 #endif -#define BUFSIZE 512 - /* * (Module-)Global variables */ @@ -410,6 +405,3 @@ void module_register (void) plugin_register_read ("interface", traffic_read); #endif } - -#undef BUFSIZE -#undef MODULE_NAME -- 2.11.0