summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andy McFadden <fadden@android.com> 2009-10-29 10:19:34 -0700
committer Andy McFadden <fadden@android.com> 2009-10-30 10:24:06 -0700
commit550a11455a5155b078085fd5f464d7f3e5dfb7fc (patch)
treecc2aae8a08b6e1429c456596bcbfcba6485b1618
parenta248b0f5b8b6153b9cf9e09b39f72bc20a5c6908 (diff)
DO NOT MERGE: 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. (Cherry-picked from eclair-mr2.)
-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 6698e003c3..f9bfe6c7c3 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