Cleaning up headers/using them properly

This commit is contained in:
2018-09-28 21:00:16 +02:00
parent 3aec1b8270
commit 32159b8689
9 changed files with 18 additions and 26 deletions

View File

@ -6,7 +6,7 @@ DATE : 2018-03-27T02:34:08+02:00
LICENSE : GNU-GPLv3
*/
#include <stdint.h>
#include "pam_panic_reject.h"
#include <unistd.h>
#ifdef TEST
#include <stdio.h>
@ -14,8 +14,6 @@ LICENSE : GNU-GPLv3
#include <security/pam_ext.h>
#endif
#include <sys/wait.h>
#include "config.h"
#include "pam_panic_reject.h"
int reject(char *serious_dev, int8_t bSerious, int8_t bReboot, int8_t bPoweroff){
if(bSerious){