From 5315e44c9a7c4287b8f418857da42dd1554f9fa7 Mon Sep 17 00:00:00 2001 From: niki Date: Thu, 15 Dec 2005 12:09:25 +0000 Subject: [PATCH] cleanup --- src/users.h | 31 ++++--------------------------- 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/src/users.h b/src/users.h index 8665cb48..f67b83f7 100644 --- a/src/users.h +++ b/src/users.h @@ -20,33 +20,10 @@ * Sebastian Harl **/ -#ifndef USERS_H -#define USERS_H 1 +#if !COLLECTD_USERS_H +#define COLLECTD_USERS_H 1 -#include +void module_register(void); -#if !defined(HAVE_UTMPX_H) || !defined(HAVE_GETUTXENT) -#undef HAVE_UTMPX_H -#undef HAVE_GETUTXENT -#endif - -#if !defined(HAVE_UTMP_H) || !defined(HAVE_GETUTENT) -#undef HAVE_UTMPX_H -#undef HAVE_GETUTXENT -#endif - -#ifndef COLLECT_USERS -#if defined(HAVE_UTMPX_H) || defined(HAVE_UTMP_H) -#define COLLECT_USERS 1 -#else -#define COLLECT_USERS 0 -#endif -#endif /* ! defined(COLLECT_USERS) */ - -void users_init(void); -void users_read(void); -void users_submit(unsigned int); -void users_write(char *, char *, char *); - -#endif /* ! defined(USERS_H) */ +#endif /* !COLLECTD_USERS_H) */ -- 2.30.2