summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2009-10-29 10:19:34 -0700
committerAndy McFadden <fadden@android.com>2009-10-29 10:20:44 -0700
commit66e06205030cfc72f9aeeac57acfd6cbff0c1b8a (patch)
treef25699c89c443c0271f1084d5f6bfc8bfb7e3970
parent5de6389f2252cb6e39918e21f80a08918e0c2c02 (diff)
downloadframeworks_base-66e06205030cfc72f9aeeac57acfd6cbff0c1b8a.zip
frameworks_base-66e06205030cfc72f9aeeac57acfd6cbff0c1b8a.tar.gz
frameworks_base-66e06205030cfc72f9aeeac57acfd6cbff0c1b8a.tar.bz2
Another gcc 4.0.3 workaround.
Temporarily make a function public that doesn't need to be. When host gcc-4.0.3 is gone from the build servers we can undo this.
-rw-r--r--libs/surfaceflinger/SurfaceFlinger.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/surfaceflinger/SurfaceFlinger.h b/libs/surfaceflinger/SurfaceFlinger.h
index 6698e00..f9bfe6c 100644
--- a/libs/surfaceflinger/SurfaceFlinger.h
+++ b/libs/surfaceflinger/SurfaceFlinger.h
@@ -246,8 +246,10 @@ private:
virtual status_t readyToRun();
virtual void onFirstRef();
+public: // hack to work around gcc 4.0.3 bug
const GraphicPlane& graphicPlane(int dpy) const;
GraphicPlane& graphicPlane(int dpy);
+private:
void waitForEvent();
public: // hack to work around gcc 4.0.3 bug