--- kannel-dev/gateway/gwlib/thread.h	2002-01-29 02:14:42.000000000 +0200
+++ gateway/gwlib/thread.h	2002-06-04 17:59:14.000000000 +0300
@@ -73,13 +73,13 @@
 /* lock given mutex. PANIC if fails (non-initialized mutex or other
  * coding error) */ 
 #define mutex_lock(m) mutex_lock_real(m, __FILE__, __LINE__, __func__)
-void mutex_lock_real(Mutex *mutex, char *file, int line, char *func);
+void mutex_lock_real(Mutex *mutex, char *file, int line, const char *func);
 
 
 /* unlock given mutex, PANIC if fails (so do not call for non-locked) */
 /* returns 0 if ok 1 if failure for debugging */
 #define mutex_unlock(m) mutex_unlock_real(m, __FILE__, __LINE__, __func__)
-int mutex_unlock_real(Mutex *mutex, char *file, int line, char *func);
+int mutex_unlock_real(Mutex *mutex, char *file, int line, const char *func);
 
 #endif
 
--- kannel-dev/gateway/gwlib/thread.c	2002-01-29 02:30:06.000000000 +0200
+++ gateway/gwlib/thread.c	2002-06-04 18:02:11.000000000 +0300
@@ -58,7 +58,7 @@
 }
 
 
-void mutex_lock_real(Mutex *mutex, char *file, int line, char *func)
+void mutex_lock_real(Mutex *mutex, char *file, int line, const char *func)
 {
     int ret;
 
@@ -83,7 +83,7 @@
     mutex->owner = gwthread_self();
 }
 
-int mutex_unlock_real(Mutex *mutex, char *file, int line, char *func)
+int mutex_unlock_real(Mutex *mutex, char *file, int line, const char *func)
 {
      int ret;
     
--- kannel-dev/gateway/gwlib/conn.c	2002-05-22 11:40:16.000000000 +0300
+++ gateway/gwlib/conn.c	2002-06-04 18:04:04.000000000 +0300
@@ -121,7 +121,7 @@
 }
 
 /* Unlock a Connection's read direction, if the Connection is unclaimed */
-static void unlock_in_real(Connection *conn, char *file, int line, char *func)
+static void unlock_in_real(Connection *conn, char *file, int line, const char *func)
 {
     int ret;
     gw_assert(conn != NULL);
@@ -148,7 +148,7 @@
 }
 
 /* Unlock a Connection's write direction, if the Connection is unclaimed */
-static void unlock_out_real(Connection *conn, char *file, int line, char *func)
+static void unlock_out_real(Connection *conn, char *file, int line, const char *func)
 {
     int ret;
     gw_assert(conn != NULL);
