debug/debug.c: constify and add prototype

This commit is contained in:
Darryl L. Miles
2025-01-04 11:31:17 -05:00
committed by Tim Edwards
parent 195dda1e06
commit 1241e95dab
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -57,7 +57,7 @@ int debugNumClients = 0;
ClientData
DebugAddClient(name, maxflags)
char *name;
const char *name;
int maxflags;
{
struct debugClient *dc;
@@ -114,7 +114,7 @@ DebugAddClient(name, maxflags)
int
DebugAddFlag(clientID, name)
ClientData clientID; /* Client identifier from DebugAddClient */
char *name; /* Name of debugging flag */
const char *name; /* Name of debugging flag */
{
int id = (int) CD2INT(clientID);
struct debugClient *dc;