diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-20 13:29:00 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-20 23:51:47 +0100 |
commit | be1ce42e936c96776b661ba5a93b0c9d0d76bb31 (patch) | |
tree | acbb27da29a312d03fbed7cce1f2069c44cfcfd9 /ddb/db_aout.c | |
parent | 2b33e316ac0d14b564ade0dd6fc3be136e945926 (diff) | |
download | gnumach-be1ce42e936c96776b661ba5a93b0c9d0d76bb31.tar.gz gnumach-be1ce42e936c96776b661ba5a93b0c9d0d76bb31.tar.bz2 gnumach-be1ce42e936c96776b661ba5a93b0c9d0d76bb31.zip |
Mark pure functions with attribute pure
Diffstat (limited to 'ddb/db_aout.c')
-rw-r--r-- | ddb/db_aout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ddb/db_aout.c b/ddb/db_aout.c index 57c680a1..87ba9753 100644 --- a/ddb/db_aout.c +++ b/ddb/db_aout.c @@ -132,7 +132,7 @@ aout_db_sym_init(symtab, esymtab, name, task_addr) /* * check file name or not (check xxxx.x pattern) */ -private boolean_t +private boolean_t __attribute__ ((pure)) aout_db_is_filename(name) const char *name; { @@ -149,7 +149,7 @@ aout_db_is_filename(name) /* * special name comparison routine with a name in the symbol table entry */ -private boolean_t +private boolean_t __attribute__ ((pure)) aout_db_eq_name(sp, name) const struct nlist *sp; const char *name; |