From 1e8c7c889a1c3b92c58fb1590b2f1192dd86623b Mon Sep 17 00:00:00 2001 From: kremlin Date: Mon, 14 Jul 2014 23:55:24 -0500 Subject: remove includes in non-gen'd interf files, they're linked properly now no need to include foo-gen.c as its functionality exists inside linked object built by makefile in future commit. additionally, make all non-generated interface files executable with a dummy main() that runs foo_init() after setting everything up properly with a g_main_loop --- src/interfaces/timedated/timedated.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/interfaces/timedated/timedated.c') diff --git a/src/interfaces/timedated/timedated.c b/src/interfaces/timedated/timedated.c index cf9b3f9..0c9d430 100644 --- a/src/interfaces/timedated/timedated.c +++ b/src/interfaces/timedated/timedated.c @@ -14,3 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "timedated-gen.h" + +int main() { + return 0; +} -- cgit v1.2.3