summaryrefslogtreecommitdiff
path: root/vyatta-restricted.h
diff options
context:
space:
mode:
Diffstat (limited to 'vyatta-restricted.h')
-rw-r--r--vyatta-restricted.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/vyatta-restricted.h b/vyatta-restricted.h
index beda140..32888c8 100644
--- a/vyatta-restricted.h
+++ b/vyatta-restricted.h
@@ -19,23 +19,13 @@
This code was originally developed by Vyatta, Inc.
Portions created by Vyatta are Copyright (C) 2007 Vyatta, Inc. */
-#include "command.h"
-
#if !defined(_VYATTA_RESTRICTED_H_)
#define _VYATTA_RESTRICTED_H_
-#if defined(HAVE_UNISTD_H)
-# include <unistd.h>
-#endif
+#include <stdio.h>
-#include <pwd.h>
-#include <dirent.h>
-
-#if defined(HAVE_GRP_H)
-# include <grp.h>
-#endif
+#include "command.h"
-extern void set_vyatta_restricted_mode __P((void));
enum vyatta_restricted_type { OUTPUT, FULL };
extern int in_vyatta_restricted_mode __P((enum vyatta_restricted_type));
extern int is_vyatta_command __P((char *, COMMAND *));