From 11bfec1a23282ee51ee082e659df019396aa9fc0 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 27 Nov 2016 17:38:39 +0100 Subject: [PATCH] Add missing header include guards Signed-off-by: Joachim Nilsson --- utmp-api.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/utmp-api.h b/utmp-api.h index 055ce47a..d2f3c17f 100644 --- a/utmp-api.h +++ b/utmp-api.h @@ -21,6 +21,9 @@ * THE SOFTWARE. */ +#ifndef FINIT_UTMP_API_H_ +#define FINIT_UTMP_API_H_ + int utmp_set (int type, int pid, char *line, char *id, char *user); int utmp_set_boot (void); int utmp_set_halt (void); @@ -30,6 +33,8 @@ int utmp_set_dead (int pid); int utmp_set_runlevel(int pre, int now); int utmp_show (char *file); +#endif /* FINIT_UTMP_API_H_ */ + /** * Local Variables: * indent-tabs-mode: t