diff --git a/api/boinc_api.cpp b/api/boinc_api.cpp index ac62d81a9c..3931c3f92d 100644 --- a/api/boinc_api.cpp +++ b/api/boinc_api.cpp @@ -500,6 +500,7 @@ int boinc_temporary_exit(int delay) { // void boinc_exit(int status) { int retval; + char buf[256]; if (options.backwards_compatible_graphics) { graphics_cleanup(); @@ -509,7 +510,6 @@ void boinc_exit(int status) { retval = file_lock.unlock(LOCKFILE); if (retval) { #ifdef _WIN32 - char buf[256]; windows_error_string(buf, 256); fprintf(stderr, "%s Can't unlock lockfile (%d): %s\n", diff --git a/checkin_notes b/checkin_notes index 564e541130..1c6197c9d7 100644 --- a/checkin_notes +++ b/checkin_notes @@ -4528,3 +4528,9 @@ Charlie 23 Jun 2010 mac_build/ boinc.xcodeproj/ project.pbxproj + +David 23 Jun 2010 + - API: compile fix + + api/ + boinc_api.cpp