summaryrefslogtreecommitdiffstats
path: root/usr.bin/at/perm.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/at/perm.c')
-rw-r--r--usr.bin/at/perm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/at/perm.c b/usr.bin/at/perm.c
index 6380f46..1e9ec9c 100644
--- a/usr.bin/at/perm.c
+++ b/usr.bin/at/perm.c
@@ -42,8 +42,9 @@ static const char rcsid[] =
/* Local headers */
-#include "privs.h"
#include "at.h"
+#include "perm.h"
+#include "privs.h"
/* Macros */
@@ -81,7 +82,7 @@ static int check_for_user(FILE *fp,const char *name)
return found;
}
/* Global functions */
-int check_permission()
+int check_permission(void)
{
FILE *fp;
uid_t uid = geteuid();
OpenPOWER on IntegriCloud