]> git.ipfire.org Git - thirdparty/mlmmj.git/commit
Move subreason_strs and subtype_strs to subscriberfuncs.c.
authorBen Schmidt <none@none>
Tue, 24 Jan 2012 04:43:53 +0000 (15:43 +1100)
committerBen Schmidt <none@none>
Tue, 24 Jan 2012 04:43:53 +0000 (15:43 +1100)
commit921d3b91235b2ed9cdffa6a119716f670c9a204e
treea373e656841f7fa3155b694796d3c5d77814aea1
parentcd45d2026ec51c5fde129b9bf7545ffbcdcc6900
Move subreason_strs and subtype_strs to subscriberfuncs.c.
They are needed by multiple executables, so can't go in a file with main(). It
is important to remember to link in subscriberfuncs.c whenever these variables
are used. Maybe write wrapper functions in future to enforce this as errors can
be hard to track down when this goes wrong.
include/mlmmj.h
src/Makefile.am
src/mlmmj-sub.c
src/subscriberfuncs.c