summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 43c2c5c)
raw | patch | inline | side by side (parent: 43c2c5c)
author | octo <octo> | |
Mon, 13 Mar 2006 11:44:02 +0000 (11:44 +0000) | ||
committer | octo <octo> | |
Mon, 13 Mar 2006 11:44:02 +0000 (11:44 +0000) |
src/vserver.c | patch | blob | history | |
src/vserver.h | [deleted file] | patch | blob | history |
diff --git a/src/vserver.c b/src/vserver.c
index 90185babc4cc1986257cffa48b9c8636f0814894..d428faa602fd840cb5f58cb1f03a432938d3c89a 100644 (file)
--- a/src/vserver.c
+++ b/src/vserver.c
* Sebastian Harl <sh at tokkee.org>
**/
-#include "vserver.h"
-
#include "collectd.h"
#include "common.h"
#include "plugin.h"
#include <sys/types.h>
#include <unistd.h>
+#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
--- 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 <sh at tokkee.org>
- **/
-
-#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 : */