From be1ce42e936c96776b661ba5a93b0c9d0d76bb31 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Fri, 20 Dec 2013 13:29:00 +0100 Subject: Mark pure functions with attribute pure --- ddb/db_command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ddb/db_command.c') diff --git a/ddb/db_command.c b/ddb/db_command.c index 3257e073..3879ec5c 100644 --- a/ddb/db_command.c +++ b/ddb/db_command.c @@ -522,7 +522,7 @@ db_fncall(void) db_printf(" %#N\n", retval); } -boolean_t +boolean_t __attribute__ ((pure)) db_option(modif, option) const char *modif; int option; -- cgit v1.2.3