summaryrefslogtreecommitdiff
path: root/include/userhost.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/userhost.h')
-rw-r--r--include/userhost.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/userhost.h b/include/userhost.h
index 2608507..40d5607 100644
--- a/include/userhost.h
+++ b/include/userhost.h
@@ -29,9 +29,9 @@ struct NameHost
{
dlink_node node; /* point to other names on this hostname */
char name[USERLEN + 1];
- int icount; /* number of =local= identd on this name*/
- int gcount; /* global user count on this name */
- int lcount; /* local user count on this name */
+ unsigned int icount; /* number of =local= identd on this name*/
+ unsigned int gcount; /* global user count on this name */
+ unsigned int lcount; /* local user count on this name */
};
struct UserHost
@@ -41,7 +41,7 @@ struct UserHost
char host[HOSTLEN + 1];
};
-extern void count_user_host(const char *, const char *, int *, int *, int *);
+extern void count_user_host(const char *, const char *, unsigned int *, unsigned int *, unsigned int *);
extern void add_user_host(const char *, const char *, int);
extern void delete_user_host(const char *, const char *, int global);
#endif /* INCLUDED_userhost_h */