Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/utils.c @ 281:f562b9af2de7
Add "const" specifier in prototypes
It's easier then to know when variables are read-only (and shouldn't
be freed).
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Wed, 06 Jul 2005 22:18:05 +0100 |
parents | 8584f919d9b9 |
children | d8f147d6e872 33b8e801ffa6 |
comparison
equal
deleted
inserted
replaced
280:68ce34b4243b | 281:f562b9af2de7 |
---|---|
30 #include <config.h> | 30 #include <config.h> |
31 | 31 |
32 static int DebugEnabled; | 32 static int DebugEnabled; |
33 static char *FName; | 33 static char *FName; |
34 | 34 |
35 void ut_InitDebug(unsigned int level, char *filename) | 35 void ut_InitDebug(unsigned int level, const char *filename) |
36 { | 36 { |
37 FILE *fp; | 37 FILE *fp; |
38 | 38 |
39 if (!level) { | 39 if (!level) { |
40 DebugEnabled = 0; | 40 DebugEnabled = 0; |