From: octo Date: Mon, 13 Mar 2006 11:44:02 +0000 (+0000) Subject: Removed `vserver.h'. Moved defines into `vserver.c' X-Git-Tag: liboping-0.1.0~165 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4958c31de9baec617b2973e2d602e76da7196362;p=collectd.git Removed `vserver.h'. Moved defines into `vserver.c' --- diff --git a/src/vserver.c b/src/vserver.c index 90185bab..d428faa6 100644 --- a/src/vserver.c +++ b/src/vserver.c @@ -20,8 +20,6 @@ * Sebastian Harl **/ -#include "vserver.h" - #include "collectd.h" #include "common.h" #include "plugin.h" @@ -34,6 +32,11 @@ #include #include +#define BUFSIZE 512 + +#define MODULE_NAME "vserver" +#define PROCDIR "/proc/virtual" + #if defined(KERNEL_LINUX) # define VSERVER_HAVE_READ 1 #else diff --git a/src/vserver.h b/src/vserver.h deleted file mode 100644 index c0fa1e5a..00000000 --- a/src/vserver.h +++ /dev/null @@ -1,35 +0,0 @@ -/** - * collectd - src/vserver.h - * Copyright (C) 2006 Sebastian Harl - * - * 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 St, Fifth Floor, Boston, MA 02110-1301 USA - * - * Authors: - * Sebastian Harl - **/ - -#if !COLLECTD_VSERVER_H -#define COLLECTD_VSERVER_H 1 - -#define BUFSIZE 512 - -#define MODULE_NAME "vserver" -#define PROCDIR "/proc/virtual" - -void module_register(void); - -#endif /* !COLLECTD_VSERVER_H */ - -/* vim: set ts=4 sw=4 noexpandtab : */