]> granicus.if.org Git - sudo/commitdiff
added declarations for yyparse() and yylex()
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 20 Jun 1996 04:41:55 +0000 (04:41 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 20 Jun 1996 04:41:55 +0000 (04:41 +0000)
sudo.h

diff --git a/sudo.h b/sudo.h
index 3c38e71b6ac5683edddb37ea8328a998ad014e03..ab98b23713a554381ae683b6a468936cdaf8d0e0 100644 (file)
--- a/sudo.h
+++ b/sudo.h
@@ -156,11 +156,9 @@ extern int top;
 #define user_dir               (user_pw_ent -> pw_dir)
 
 /*
- * Prototypes
+ * Function prototypes
  */
-
-
-/* These are the functions that are called in sudo(8) */
+#define YY_DECL int yylex __P((void))
 
 #ifndef HAVE_STRDUP
 char *strdup           __P((const char *));
@@ -182,6 +180,8 @@ int validate                __P((int));
 void set_perms         __P((int));
 void remove_timestamp  __P((void));
 void load_interfaces   __P((void));
+int yyparse            __P((void));
+YY_DECL;
 
 
 /*