From 08470fd767584d6cee1be9caa82dcfab45671651 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 20 Jun 1996 04:41:55 +0000 Subject: [PATCH] added declarations for yyparse() and yylex() --- sudo.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sudo.h b/sudo.h index 3c38e71b6..ab98b2371 100644 --- 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; /*