aboutsummaryrefslogtreecommitdiffstats
path: root/src/interfaces/timedated/timedated.c
diff options
context:
space:
mode:
authorkremlin <ian@kremlin.cc>2014-07-15 12:55:24 +0800
committerkremlin <ian@kremlin.cc>2014-07-15 12:55:24 +0800
commit1e8c7c889a1c3b92c58fb1590b2f1192dd86623b (patch)
tree53751faad6f0c91408908adc608aef168cbf6bb9 /src/interfaces/timedated/timedated.c
parent8751decbc931f5fe64130567a3965fd05c698a64 (diff)
downloadsystembsd-1e8c7c889a1c3b92c58fb1590b2f1192dd86623b.tar
systembsd-1e8c7c889a1c3b92c58fb1590b2f1192dd86623b.tar.gz
systembsd-1e8c7c889a1c3b92c58fb1590b2f1192dd86623b.tar.bz2
systembsd-1e8c7c889a1c3b92c58fb1590b2f1192dd86623b.tar.lz
systembsd-1e8c7c889a1c3b92c58fb1590b2f1192dd86623b.tar.xz
systembsd-1e8c7c889a1c3b92c58fb1590b2f1192dd86623b.tar.zst
systembsd-1e8c7c889a1c3b92c58fb1590b2f1192dd86623b.zip
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
Diffstat (limited to 'src/interfaces/timedated/timedated.c')
-rw-r--r--src/interfaces/timedated/timedated.c5
1 files changed, 5 insertions, 0 deletions
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;
+}