aboutsummaryrefslogtreecommitdiffstats
path: root/src/cerberus.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/cerberus.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/src/cerberus.h b/src/cerberus.h
index a81b8a0..038ce2a 100644
--- a/src/cerberus.h
+++ b/src/cerberus.h
@@ -1,7 +1,7 @@
/**
* cerberus – Minimal login program
*
- * Copyright © 2013, 2014, 2015, 2016, 2020 Mattias Andrée (maandree@kth.se)
+ * Copyright © 2013, 2014, 2015, 2016, 2020 Mattias Andrée (m@maandree.se)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -20,18 +20,18 @@
#define CERBERUS_CERBERUS_H
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <signal.h>
-#include <pwd.h>
-#include <errno.h>
-#include <termios.h>
-#include <fcntl.h>
-#include <sys/wait.h>
#include <sys/ioctl.h>
#include <sys/types.h>
+#include <sys/wait.h>
+#include <errno.h>
+#include <fcntl.h>
#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <termios.h>
+#include <unistd.h>
#if AUTH > 0
#include <passphrase.h>
@@ -50,13 +50,13 @@
#endif
-int fork_exec_wait_hook(int hook, int argc, char** argv);
-void exec_hook(int hook, int argc, char** argv);
-void do_login(int argc, char** argv);
+int fork_exec_wait_hook(int hook, int argc, char **argv);
+void exec_hook(int hook, int argc, char **argv);
+void do_login(int argc, char **argv);
#if AUTH > 0
void preexit(void);
-char* read_passphrase(void);
+char *read_passphrase(void);
#else
#define preexit() /* do nothing */
#define read_passphrase() NULL
@@ -69,4 +69,3 @@ void destroy_passphrase(void);
#endif
-