summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2019-08-31 22:16:57 +0100
committerColin Watson <cjwatson@debian.org>2019-08-31 22:16:57 +0100
commit16c6798b923893eeef6f6973e9400bfbb219d6e2 (patch)
treeb2a8c82450de55ba0c6ddc7f2d2f84f21cad1fac /include
parent7680d36f18702354a9af39854a30af5c94e4e918 (diff)
Improve list iteration helper
* lib/glcontainers.h (GL_LIST_FOREACH_START): Capture the gl_list_node_t in each loop iteration. * src/descriptions_store.c (store_descriptions): Simplify detection of the last loop iteration. * src/manconv.c (manconv): Likewise. * src/manconv_client.c (add_manconv): Likewise. * src/manp.c (create_pathlist): Simplify manual loop iteration that can now be expressed using GL_LIST_FOREACH_START/GL_LIST_FOREACH_END. Simplify detection of the first loop iteration when emitting the final search path as debugging information.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions