Add an empty header file to be populated incrementally as functions
are split out from the monolithic agetty.c into separate files.
Signed-off-by: Karel Zak <kzak@redhat.com>
MANPAGES += term-utils/agetty.8
dist_noinst_DATA += term-utils/agetty.8.adoc
-agetty_SOURCES = agetty-cmd/agetty.c
+agetty_SOURCES = agetty-cmd/agetty.c \
+ agetty-cmd/agetty.h
if USE_PLYMOUTH_SUPPORT
agetty_SOURCES += lib/plymouth-ctrl.c
#include <sys/utsname.h>
#include <syslog.h>
+#include "agetty.h"
#include "strutils.h"
#include "all-io.h"
#include "nls.h"
--- /dev/null
+#ifndef UTIL_LINUX_AGETTY_H
+#define UTIL_LINUX_AGETTY_H
+
+#endif /* UTIL_LINUX_AGETTY_H */
agetty_sources = files(
'agetty.c',
+ 'agetty.h',
)
if LINUX