]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
config: Change the generated settings-history-core from .h to .c
authorFred Morcos <fred.morcos@open-xchange.com>
Mon, 7 Apr 2025 12:51:32 +0000 (14:51 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 9 Apr 2025 06:33:18 +0000 (08:33 +0200)
commit9dca2f961f83a071d2ff516cd332cd4aa88484dd
tree8c5c0ca89912ad1bb4b12ecc0cf2276c5410b723
parent873bcd9faac65e3ebd039a20d6d9890fa11347e4
config: Change the generated settings-history-core from .h to .c

This changes the output file to a header file instead of a C file, this helps meson deal
better with dependencies on custom_targets.

It is technically an #included header file so it makes sense.

The ideal solution would be to keep it as a C file, and add forward declarations of the
arrays defined in it instead of verbatim #include'ing it. However, array forward decls are
not possible without a specified size which cannot be provided in advance and declaring
them as pointers is perhaps not the best idea.
.gitignore
src/lib-settings/Makefile.am
src/lib-settings/settings-history.c