summaryrefslogtreecommitdiff
path: root/cogl/cogl-clip-stack.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2010-05-27 13:28:43 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2010-06-01 12:08:18 +0100
commit45a947d226c5d81c2fc8b8d716c9b014d86f4113 (patch)
treeb28bdb3afde9bd9be2d8f93e18a0210fe7d01885 /cogl/cogl-clip-stack.c
parent338a37d468dc3d3fc523930b4eeab56b7664b864 (diff)
downloadcogl-45a947d226c5d81c2fc8b8d716c9b014d86f4113.tar.gz
analysis: Use static functions when possible
It's best to ensure the functions only used in one compilation unit are marked as static so GCC can inline them if it feels like it.
Diffstat (limited to 'cogl/cogl-clip-stack.c')
-rw-r--r--cogl/cogl-clip-stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl-clip-stack.c b/cogl/cogl-clip-stack.c
index 87a21637..946790e9 100644
--- a/cogl/cogl-clip-stack.c
+++ b/cogl/cogl-clip-stack.c
@@ -285,7 +285,7 @@ set_clip_planes (float x_1,
}
}
-void
+static void
add_stencil_clip_rectangle (float x_1,
float y_1,
float x_2,