summaryrefslogtreecommitdiff
path: root/boilerplate/cairo-boilerplate-getopt.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-05-08 09:02:12 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2008-06-13 21:34:43 +0100
commitc2963fa6c1f6da2117663d69505efb3bf2cc4145 (patch)
treefb852e2ddae035dc302477108e43283a0b503234 /boilerplate/cairo-boilerplate-getopt.h
parentac44817c4a8464ed5c665cc8b20d1463cf8a5de3 (diff)
downloadcairo-c2963fa6c1f6da2117663d69505efb3bf2cc4145.tar.gz
[cairo-boilerplate] Silence compiler warning.
Mark the optstr argument as const to silence a compiler warning in cairo-perf.
Diffstat (limited to 'boilerplate/cairo-boilerplate-getopt.h')
-rw-r--r--boilerplate/cairo-boilerplate-getopt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/boilerplate/cairo-boilerplate-getopt.h b/boilerplate/cairo-boilerplate-getopt.h
index 6ed780c97..74bce14c7 100644
--- a/boilerplate/cairo-boilerplate-getopt.h
+++ b/boilerplate/cairo-boilerplate-getopt.h
@@ -48,7 +48,7 @@ extern int optind;
extern int opterr;
extern int optopt;
-int _cairo_getopt(int argc, char** argv, char* optstr);
+int _cairo_getopt(int argc, char** argv, const char* optstr);
#ifdef __cplusplus