mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-09-02 02:58:01 +02:00
debug/debug.c: constify and add prototype
This commit is contained in:
committed by
Tim Edwards
parent
195dda1e06
commit
1241e95dab
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user