]> granicus.if.org Git - sudo/commitdiff
Move user_is_exempt prototype into sudo.h
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 15 Feb 2000 23:36:04 +0000 (23:36 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 15 Feb 2000 23:36:04 +0000 (23:36 +0000)
check.c
sudo.c
sudo.h

diff --git a/check.c b/check.c
index e7351aa6b8e1a2720e9904a33d4e0e9b59bc4ec2..84ce9b76d08e94181d9fde78a0c6ce1c750dcbc1 100644 (file)
--- a/check.c
+++ b/check.c
@@ -71,7 +71,6 @@ static const char rcsid[] = "$Sudo$";
 #define TS_NOFILE              3
 #define TS_ERROR               4
 
-       int   user_is_exempt    __P((void));
 static void  build_timestamp   __P((char **, char **));
 static int   timestamp_status  __P((char *, char *, char *, int));
 static char *expand_prompt     __P((char *, char *, char *));
diff --git a/sudo.c b/sudo.c
index 73f71df33f4735cbbfa5bc7087c55ce8c6db8eb7..697c6d95d4c1d05f2f207f5af1f9882e3c859867 100644 (file)
--- a/sudo.c
+++ b/sudo.c
@@ -108,7 +108,6 @@ static int init_vars                        __P((int));
 static void add_env                    __P((int));
 static void clean_env                  __P((char **, struct env_table *));
 static void initial_setup              __P((void));
-extern int  user_is_exempt             __P((void));
 extern struct passwd *sudo_getpwuid    __P((uid_t));
 extern void list_matches               __P((void));
 
diff --git a/sudo.h b/sudo.h
index 59683028b42222f144385ad04acb4de3e2add8f8..0ffe6260a65ea4cee7afc37742ee3e9cc6aea44e 100644 (file)
--- a/sudo.h
+++ b/sudo.h
@@ -206,6 +206,7 @@ void dump_defaults  __P((void));
 void dump_auth_methods __P((void));
 int lock_file          __P((int, int));
 int touch              __P((char *, time_t));
+int user_is_exempt     __P((void));
 void set_fqdn          __P((void));
 YY_DECL;