diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-11-07 15:26:52 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-02-21 14:15:58 -0500 |
commit | 123d344f4590c45c5ccced8c46d157edb2b9efd2 (patch) | |
tree | b9d84b0da59e36d3ccab74767e679370724fa8f8 /fc-list | |
parent | da763aa77dbaefd9be10ff5ad04ab5da39327b2e (diff) | |
download | fontconfig-123d344f4590c45c5ccced8c46d157edb2b9efd2.tar.gz |
FcName{,Get}Constant: constify string input
These funcs don't modify the incoming string, so add const markings.
This is the "right thing", shouldn't change the ABI, and fixes some
gcc warnings:
fccfg.c: In function 'FcConfigEvaluate':
fccfg.c:916:2: warning: passing argument 1 of 'IA__FcNameConstant'
discards 'const' qualifier from pointer target type [enabled by default]
fcalias.h:253:34: note: expected 'FcChar8 *' but
argument is of type 'const FcChar8 *'
fcxml.c: In function 'FcTypecheckExpr':
fcxml.c:604:2: warning: passing argument 1 of 'IA__FcNameGetConstant'
discards 'const' qualifier from pointer target type [enabled by default]
fcalias.h:251:37: note: expected 'FcChar8 *' but
argument is of type 'const FcChar8 *'
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'fc-list')
0 files changed, 0 insertions, 0 deletions