From 58f04c9e68e0fc04220901f1f5912a95211198d5 Mon Sep 17 00:00:00 2001 From: drdani Date: Fri, 9 Jun 2006 11:40:10 +0000 Subject: [PATCH] condor event updater doesn't return anything git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@665 a7169a2c-3604-0410-bc95-c702d8d87f7a --- dcapi/condor/condor_log.cc | 8 ++++---- dcapi/condor/condor_log.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dcapi/condor/condor_log.cc b/dcapi/condor/condor_log.cc index 7fb78fb14e..9d9756a7c2 100644 --- a/dcapi/condor/condor_log.cc +++ b/dcapi/condor/condor_log.cc @@ -21,7 +21,7 @@ #include "condor_log.h" -char * +void _DC_wu_update_condor_events(DC_Workunit *wu) { ReadUserLog log; @@ -31,7 +31,7 @@ _DC_wu_update_condor_events(DC_Workunit *wu) unsigned int i; if (!wu) - return(0); + return; fn_org= g_string_new(wu->workdir); fn_org= g_string_append(fn_org, "/internal_log.txt"); @@ -47,7 +47,7 @@ _DC_wu_update_condor_events(DC_Workunit *wu) "initialization failed for %s", fn_tmp->str); g_string_free(fn_org, TRUE); g_string_free(fn_tmp, TRUE); - return(0); + return; } i= 1; @@ -76,7 +76,7 @@ _DC_wu_update_condor_events(DC_Workunit *wu) unlink(fn_tmp->str); g_string_free(fn_org, TRUE); g_string_free(fn_tmp, TRUE); - return(0); + return; } diff --git a/dcapi/condor/condor_log.h b/dcapi/condor/condor_log.h index a5c7400528..34fbeda35d 100644 --- a/dcapi/condor/condor_log.h +++ b/dcapi/condor/condor_log.h @@ -12,7 +12,7 @@ extern "C" { #include "dc.h" -extern char *_DC_wu_update_condor_events(DC_Workunit *wu); +extern void _DC_wu_update_condor_events(DC_Workunit *wu); extern DC_MasterEvent *_DC_wu_condor2api_event(DC_Workunit *wu);