From: niki Date: Thu, 15 Dec 2005 12:09:25 +0000 (+0000) Subject: cleanup X-Git-Tag: collectd-3.5.0~1^2~7 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=5315e44c9a7c4287b8f418857da42dd1554f9fa7;p=collectd.git cleanup --- 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) */