]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/jcr.c
Add const for Solaris' C++ compiler
[bacula/bacula] / bacula / src / lib / jcr.c
index 068366cd5a1c2f7ff5750bcaf9ab55802c2fe9e0..1bb7e5d810fe70abbb76ab1c72ec5be1fd37cdab 100755 (executable)
@@ -227,7 +227,7 @@ static void free_common_jcr(JCR *jcr)
  * Global routine to free a jcr
  */
 #ifdef DEBUG
-void b_free_jcr(char *file, int line, JCR *jcr)
+void b_free_jcr(const char *file, int line, JCR *jcr)
 {
    Dmsg3(200, "Enter free_jcr 0x%x from %s:%d\n", jcr, file, line);
 
@@ -540,7 +540,7 @@ static void jcr_timeout_check(watchdog_t *self)
 /*
  * Timeout signal comes here
  */
-void timeout_handler(int sig)
+static void timeout_handler(int sig)
 {
    return;                           /* thus interrupting the function */
 }