diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-22 13:49:08 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-22 13:49:08 +0100 |
| commit | 86138fc92d6e5f92d9d3fcceb32b849e8504f619 (patch) | |
| tree | f361b9cea99dbe4d77d0dd8f9cbc00f67c105d6b /src/cerberus.h | |
| parent | Udpdate for new version of glibc (diff) | |
| download | cerberus-86138fc92d6e5f92d9d3fcceb32b849e8504f619.tar.gz cerberus-86138fc92d6e5f92d9d3fcceb32b849e8504f619.tar.bz2 cerberus-86138fc92d6e5f92d9d3fcceb32b849e8504f619.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'src/cerberus.h')
| -rw-r--r-- | src/cerberus.h | 29 |
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 - |
