Allow /stats to accept long names for the displayed statistics.
[ircu2.10.12-pk.git] / ircd / s_debug.c
index b861345d923c7cee70bb64e178bb2a00141bf42b..5c9ec6ef133fee7edbfb1b6be0715f2d756b5777 100644 (file)
@@ -170,7 +170,7 @@ static void debug_enumerator(struct Client* cptr, const char* msg)
  * different field names for "struct rusage".
  * -avalon
  */
-void send_usage(struct Client *cptr, struct StatDesc *sd, int stat,
+void send_usage(struct Client *cptr, const struct StatDesc *sd,
                 char *param)
 {
   os_get_rusage(cptr, CurrentTime - cli_since(&me), debug_enumerator);
@@ -180,7 +180,7 @@ void send_usage(struct Client *cptr, struct StatDesc *sd, int stat,
 }
 #endif /* DEBUGMODE */
 
-void count_memory(struct Client *cptr, struct StatDesc *sd, int stat,
+void count_memory(struct Client *cptr, const struct StatDesc *sd,
                   char *param)
 {
   struct Client *acptr;