diff 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
line wrap: on
line diff
--- a/mcabber/src/utils.c	Wed Jul 06 21:28:37 2005 +0100
+++ b/mcabber/src/utils.c	Wed Jul 06 22:18:05 2005 +0100
@@ -32,7 +32,7 @@
 static int DebugEnabled;
 static char *FName;
 
-void ut_InitDebug(unsigned int level, char *filename)
+void ut_InitDebug(unsigned int level, const char *filename)
 {
   FILE *fp;