summaryrefslogtreecommitdiff
path: root/ddb/db_command.h
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-20 13:29:00 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-20 23:51:47 +0100
commitbe1ce42e936c96776b661ba5a93b0c9d0d76bb31 (patch)
treeacbb27da29a312d03fbed7cce1f2069c44cfcfd9 /ddb/db_command.h
parent2b33e316ac0d14b564ade0dd6fc3be136e945926 (diff)
Mark pure functions with attribute pure
Diffstat (limited to 'ddb/db_command.h')
-rw-r--r--ddb/db_command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ddb/db_command.h b/ddb/db_command.h
index 634dd9d..4208bda 100644
--- a/ddb/db_command.h
+++ b/ddb/db_command.h
@@ -41,7 +41,7 @@
#include <machine/setjmp.h>
extern void db_command_loop(void);
-extern boolean_t db_option(const char *, int);
+extern boolean_t db_option(const char *, int) __attribute__ ((pure));
extern void db_error(const char *) __attribute__ ((noreturn)); /* report error */