summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-02-08 02:09:13 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-02-08 02:09:13 +0100
commit3e89e06d3bb31122d64ace6c523f8e3f6e828544 (patch)
tree10047282add262a67857470a95b9e0ac1bcd7b88 /tools
parenta2a6330372621a7adb1bab2ef13d67de523b3d01 (diff)
downloadmsitools-3e89e06d3bb31122d64ace6c523f8e3f6e828544.zip
msitools-3e89e06d3bb31122d64ace6c523f8e3f6e828544.tar.gz
msitools-3e89e06d3bb31122d64ace6c523f8e3f6e828544.tar.xz
Mark pure functions
Diffstat (limited to 'tools')
-rw-r--r--tools/sqldelim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/sqldelim.c b/tools/sqldelim.c
index 645c783..ed2e2b1 100644
--- a/tools/sqldelim.c
+++ b/tools/sqldelim.c
@@ -58,6 +58,7 @@ static const Keyword aKeywordTable[] = {
/*
** Comparison function for binary search.
*/
+G_GNUC_PURE
static int sql_compare_keyword(const void *m1, const void *m2){
const uint8_t *p = m1;
const Keyword *k = m2;