diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-12-05 16:42:50 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-12-05 16:42:50 +1030 |
commit | 3b390b754eb8edd43678bdd080b06f102766683d (patch) | |
tree | 6420770fc0d3b02ca685342efb47ff70e301e5e1 /lib/ccan/compiler/_info | |
parent | ab2c07b8f0dec6fd82884b7864a399201c3d2ce3 (diff) | |
download | samba-3b390b754eb8edd43678bdd080b06f102766683d.tar.gz samba-3b390b754eb8edd43678bdd080b06f102766683d.tar.xz samba-3b390b754eb8edd43678bdd080b06f102766683d.zip |
lib/ccan/compiler, ilog: IDEMPOTENT "idempotent does not mean what you think it means"
Actually, I don't even think it means that. But rename it to something
which is sane.
Thanks to David Gibson for reporting.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit e764d0a27d2b6748ea7d343042ec7d6dda1f6aae)
Diffstat (limited to 'lib/ccan/compiler/_info')
-rw-r--r-- | lib/ccan/compiler/_info | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ccan/compiler/_info b/lib/ccan/compiler/_info index e42ebb0fb35..9f394539738 100644 --- a/lib/ccan/compiler/_info +++ b/lib/ccan/compiler/_info @@ -10,7 +10,7 @@ * For functions not called in fast paths (aka. cold functions) * - PRINTF_FMT * For functions which take printf-style parameters. - * - IDEMPOTENT + * - CONST_FUNCTION * For functions which return the same value for same parameters. * - NEEDED * For functions and variables which must be emitted even if unused. @@ -18,7 +18,7 @@ * For functions and variables which need not be emitted if unused. * - UNUSED * For parameters which are not used. - * - IS_COMPILE_CONSTANT + * - IS_COMPILE_CONSTANT() * For using different tradeoffs for compiletime vs runtime evaluation. * * License: Public Domain |