]> git.sur5r.net Git - bacula/bacula/commitdiff
add const to char* args to open_bipe and d_msg prototype to get things to link
authorChristopher S. Hull <csh@raidersolutions.com>
Wed, 18 Feb 2004 16:09:58 +0000 (16:09 +0000)
committerChristopher S. Hull <csh@raidersolutions.com>
Wed, 18 Feb 2004 16:09:58 +0000 (16:09 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1059 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/win32/compat/compat.cpp

index 4fa7ba82a39c72c3e40d3e6358b88d9188f44435..0d2598754e120b78e244f570a7b9728f171e6d63 100644 (file)
@@ -22,8 +22,8 @@
 // Author          : Christopher S. Hull
 // Created On      : Sat Jan 31 15:55:00 2004
 // Last Modified By: Christopher S. Hull
-// Last Modified On: Mon Feb  9 17:22:31 2004
-// Update Count    : 591
+// Last Modified On: Wed Feb 18 09:12:15 2004
+// Update Count    : 593
 // $Id$
 
 #include <stdio.h>
@@ -31,7 +31,7 @@
 #include "compat.h"
 #include "pthread.h"
 
-extern void d_msg(char *file, int line, int level, char *fmt,...);
+extern void d_msg(const char *file, int line, int level, const char *fmt,...);
 extern DWORD   g_platform_id;
 
 
@@ -930,7 +930,7 @@ int __cdecl _open_osfhandle(long, int);
 }
 
 BPIPE *
-open_bpipe(char *prog, int wait, char *mode)
+open_bpipe(char *prog, int wait, const char *mode)
 {
     HANDLE hChildStdinRd, hChildStdinWr, hChildStdinWrDup, 
        hChildStdoutRd, hChildStdoutWr, hChildStdoutRdDup,