From 8dd9b7519632fbad8e22dd5250cf9db989181a4f Mon Sep 17 00:00:00 2001 From: "Christopher S. Hull" Date: Wed, 18 Feb 2004 16:09:58 +0000 Subject: [PATCH] add const to char* args to open_bipe and d_msg prototype to get things to link git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1059 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/win32/compat/compat.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bacula/src/win32/compat/compat.cpp b/bacula/src/win32/compat/compat.cpp index 4fa7ba82a3..0d2598754e 100644 --- a/bacula/src/win32/compat/compat.cpp +++ b/bacula/src/win32/compat/compat.cpp @@ -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 @@ -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, -- 2.39.5