Relocate utmp_show() to initctl.c

Only used by this tool, no need to keep it in the shared utmp-api.c

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-02-10 10:17:41 +01:00
1 parent 958cab8cc7
commit 0f64e18f27
5 files changed
+44 -44

No files matched your search

-5
View File
@@ -58,11 +58,6 @@ char *strip_line(char *line)
return line;
}
void runlevel_set(int pre, int now)
{
utmp_set_runlevel(pre, now);
}
static int print_timestamp(void)
{
#if defined(CONFIG_PRINTK_TIME)