From: michael Date: Mon, 29 Dec 2014 16:04:43 +0000 (+0000) Subject: - stats.c, stats.h: constification X-Git-Tag: 1.0.0beta2~23 X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=3bb0c8b6c3338b35e830d092de664f80ccf26df9;p=hopm.git - stats.c, stats.h: constification git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@5196 82007160-df01-0410-b94d-b575c5fd34c7 --- diff --git a/src/stats.c b/src/stats.c index f058c3d..225b528 100644 --- a/src/stats.c +++ b/src/stats.c @@ -166,7 +166,7 @@ stats_dnsblsend(void) * */ void -stats_output(char *target) +stats_output(const char *target) { time_t present; time_t uptime; @@ -210,7 +210,7 @@ stats_output(char *target) * */ void -fdstats_output(char *target) +fdstats_output(const char *target) { struct rlimit rlim; unsigned int total_fd_use = 0; diff --git a/src/stats.h b/src/stats.h index 6483c84..702786e 100644 --- a/src/stats.h +++ b/src/stats.h @@ -16,7 +16,7 @@ extern void stats_openproxy(int); extern void stats_connect(void); extern void stats_dnsblrecv(struct BlacklistConf *); extern void stats_dnsblsend(void); -extern void stats_output(char *); -extern void fdstats_output(char *); +extern void stats_output(const char *); +extern void fdstats_output(const char *); #endif /* STATS_H */