Cleanup diff with compat.

Change-Id: Ieedcdec03ccb05cac68cbebbd398e07cb885f4d3
diff --git a/rsRuntime.h b/rsRuntime.h
index 3a20cb0..390338b 100644
--- a/rsRuntime.h
+++ b/rsRuntime.h
@@ -29,6 +29,9 @@
 // Context
 //////////////////////////////////////////////////////////////////////////////
 
+void rsrAllocationSyncAll(Context *, Script *, Allocation *);
+
+#ifndef RS_COMPATIBILITY_LIB
 void rsrBindTexture(Context *, ProgramFragment *, uint32_t slot, Allocation *);
 void rsrBindConstant(Context *, ProgramFragment *, uint32_t slot, Allocation *);
 void rsrBindConstant(Context *, ProgramVertex*, uint32_t slot, Allocation *);
@@ -73,6 +76,7 @@
 
 
 void rsrColor(Context *, float r, float g, float b, float a);
+#endif
 
 void rsrAllocationCopy1DRange(Context *, Allocation *dstAlloc,
                               uint32_t dstOff,
@@ -88,6 +92,7 @@
                               uint32_t srcXoff, uint32_t srcYoff,
                               uint32_t srcMip, uint32_t srcFace);
 
+#ifndef RS_COMPATIBILITY_LIB
 void rsrPrepareClear(Context *);
 uint32_t rsrGetWidth(Context *);
 uint32_t rsrGetHeight(Context *);
@@ -101,6 +106,7 @@
                     int32_t *left, int32_t *right, int32_t *top, int32_t *bottom);
 void rsrBindFont(Context *, Font *);
 void rsrFontColor(Context *, float r, float g, float b, float a);
+#endif
 
 //////////////////////////////////////////////////////////////////////////////
 // Time routines