]> git.ipfire.org Git - thirdparty/ccache.git/commit
Refactor conf item lookup code
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 20 Oct 2018 20:42:55 +0000 (22:42 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 25 Oct 2018 19:26:37 +0000 (21:26 +0200)
commitc24670586a316dd5a431b25f0687aec0275a876f
tree7afc3876beabf44430034f95c60f9a717ac33989
parent3f710b0af49a68fd00f3ea7460bad1e4cf982613
Refactor conf item lookup code

- Extracted parse/format/verify functions into a separate confitems.c
  file.
- The *_lookup.c files are now compilation units of their own instead of
  being included inside conf.c. This feels cleaner, and also relieves
  cppcheck from having to check dirty, autogenerated code.
Makefile.in
dev.mk.in
src/conf.c
src/confitems.c [new file with mode: 0644]
src/confitems.gperf
src/confitems.h [new file with mode: 0644]
src/confitems_lookup.c
src/envtoconfitems.gperf
src/envtoconfitems.h [new file with mode: 0644]
src/envtoconfitems_lookup.c