aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud
diff options
context:
space:
mode:
authorAlexander Tkachev2016-05-13 21:26:47 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit6ad983bb7220eed2f635163a7fcfdac811b80ca0 (patch)
treea69cbf5b4fc7aaba6ec832fc1528bfc297c66073 /backends/cloud
parent1b89e25580c186fc2cc1821acee942e23fea3682 (diff)
downloadscummvm-rg350-6ad983bb7220eed2f635163a7fcfdac811b80ca0.tar.gz
scummvm-rg350-6ad983bb7220eed2f635163a7fcfdac811b80ca0.tar.bz2
scummvm-rg350-6ad983bb7220eed2f635163a7fcfdac811b80ca0.zip
CLOUD: Fix GCC static cloudThread compile error
It's not static anymore.
Diffstat (limited to 'backends/cloud')
-rw-r--r--backends/cloud/dropbox/finalcountdownrequest.h2
-rw-r--r--backends/cloud/manager.cpp4
-rw-r--r--backends/cloud/storage.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/backends/cloud/dropbox/finalcountdownrequest.h b/backends/cloud/dropbox/finalcountdownrequest.h
index 34e8a807f9..5ef942180c 100644
--- a/backends/cloud/dropbox/finalcountdownrequest.h
+++ b/backends/cloud/dropbox/finalcountdownrequest.h
@@ -35,7 +35,7 @@ public:
FinalCountdownRequest(Callback cb) : Request(cb), _times(5) {};
virtual bool handle() {
- if(--_times == 0) {
+ if (--_times == 0) {
warning("It's the final countdown!");
_callback(0); //meh, don't have anything for you, my caller
return true;
diff --git a/backends/cloud/manager.cpp b/backends/cloud/manager.cpp
index 05b23771b0..58bb0ce83f 100644
--- a/backends/cloud/manager.cpp
+++ b/backends/cloud/manager.cpp
@@ -25,7 +25,7 @@
namespace Cloud {
-Manager::Manager(): _currentStorage(new Dropbox::DropboxStorage()) {};
+Manager::Manager(): _currentStorage(new Dropbox::DropboxStorage()) {}
Manager::~Manager() { delete _currentStorage; }
@@ -38,4 +38,4 @@ void Manager::syncSaves() {
if (storage) storage->syncSaves();
}
-} //end of namespace Cloud \ No newline at end of file
+} //end of namespace Cloud
diff --git a/backends/cloud/storage.cpp b/backends/cloud/storage.cpp
index 597eb6bb13..23dcd8c379 100644
--- a/backends/cloud/storage.cpp
+++ b/backends/cloud/storage.cpp
@@ -26,7 +26,7 @@
namespace Cloud {
-static void cloudThread(void *thread) {
+void cloudThread(void *thread) {
Storage *cloudThread = (Storage *)thread;
cloudThread->handler();
}