diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2013-06-06 21:03:42 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2013-06-06 21:03:42 -0400 |
commit | 1eaa837ba654d2ee005de5b53dca5bc5972bfd34 (patch) | |
tree | 84b15403809ac79926177b53f55121847ce8bcf7 /src/libudev/set.h | |
parent | f90cec7e845b681aeeec55a6711c289b28790742 (diff) |
Round 2 of remove unused DECLS from src/libudev/{ioprio,log,macro,set,strv}
Remove the following unused DECLS:
IOPRIO_BITS
IOPRIO_CLASS_SHIFT
IOPRIO_PRIO_MASK
IOPRIO_PRIO_CLASS
IOPRIO_PRIO_DATA
IOPRIO_PRIO_VALUE
ioprio_valid
IOPRIO_BE_NR
IOPRIO_WHO_PROCESS
IOPRIO_WHO_PGRP
IOPRIO_WHO_USER
MESSAGE_ID
EXIT_TEST_SKIP
XSTRINGIFY
STRINGIFY
ALIGN_PTR
ALIGN4_PTR
ALIGN8_PTR
MAX
MAX3
MIN
CLAMP
zero
CHAR_TO_STR
VA_FORMAT_ADVANCE
SET_FLAG
SET_FOREACH
SET_FOREACH_BACKWARDS
STRV_FOREACH_BACKWARDS
STRV_FOREACH_PAIR
_unused_
_destructor_
_deprecated_
_weak_
_hidden_
_weakref_
_introspect_
_alignas_
Remove the following unused static inline functions:
static inline int ioprio_set
static inline int ioprio_get
static inline const char* STRV_IFNOTNULL
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/set.h')
-rw-r--r-- | src/libudev/set.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libudev/set.h b/src/libudev/set.h index 3296b2b6bf..76383a423a 100644 --- a/src/libudev/set.h +++ b/src/libudev/set.h @@ -44,10 +44,4 @@ bool set_contains(Set *s, void *value); void *set_iterate(Set *s, Iterator *i); void *set_iterate_backwards(Set *s, Iterator *i); -#define SET_FOREACH(e, s, i) \ - for ((i) = ITERATOR_FIRST, (e) = set_iterate((s), &(i)); (e); (e) = set_iterate((s), &(i))) - -#define SET_FOREACH_BACKWARDS(e, s, i) \ - for ((i) = ITERATOR_LAST, (e) = set_iterate_backwards((s), &(i)); (e); (e) = set_iterate_backwards((s), &(i))) - #define _cleanup_set_free_ _cleanup_(set_freep) |