Relocate global sm variable to reduce include file deps

The new state machine handling is not necessary to export to external
plugins, so this patch reduces the exposure of the global variable sm

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-06-04 23:10:47 +02:00
1 parent e9da876a10
commit ea21bfc4c9
4 files changed
+4 -4

No files matched your search

-1
View File
@@ -54,7 +54,6 @@ char *hostname = NULL;
char *rcsd = FINIT_RCSD;
char *runparts = NULL;
char *console = NULL;
sm_t sm;
uev_ctx_t *ctx = NULL; /* Main loop context */