summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-09-17 19:46:17 -0600
committerBrian Paul <[email protected]>2012-09-17 19:46:20 -0600
commit35f16600b31b95b95338b0142c778a2dede7659c (patch)
tree7109348c8bbcde7fed0cb799e8b79f34cbaacdba /src/mesa/main
parent1ce9f25fde5fc33566f4effbb94d342a20d50256 (diff)
mesa: change create_version_string() return type to void
Fixes "warning: no return statement in function returning non-void"
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index b3b02ef2dbf..55638a80719 100644
--- a/src/mesa/main/version.c
+++ b/src/mesa/main/version.c
@@ -57,7 +57,7 @@ override_version(struct gl_context *ctx)
/**
* Builds the MESA version string.
*/
-static GLboolean
+static void
create_version_string(struct gl_context *ctx, const char *prefix)
{
static const int max = 100;