mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
added declarations for yyparse() and yylex()
This commit is contained in:
8
sudo.h
8
sudo.h
@@ -156,11 +156,9 @@ extern int top;
|
|||||||
#define user_dir (user_pw_ent -> pw_dir)
|
#define user_dir (user_pw_ent -> pw_dir)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prototypes
|
* Function prototypes
|
||||||
*/
|
*/
|
||||||
|
#define YY_DECL int yylex __P((void))
|
||||||
|
|
||||||
/* These are the functions that are called in sudo(8) */
|
|
||||||
|
|
||||||
#ifndef HAVE_STRDUP
|
#ifndef HAVE_STRDUP
|
||||||
char *strdup __P((const char *));
|
char *strdup __P((const char *));
|
||||||
@@ -182,6 +180,8 @@ int validate __P((int));
|
|||||||
void set_perms __P((int));
|
void set_perms __P((int));
|
||||||
void remove_timestamp __P((void));
|
void remove_timestamp __P((void));
|
||||||
void load_interfaces __P((void));
|
void load_interfaces __P((void));
|
||||||
|
int yyparse __P((void));
|
||||||
|
YY_DECL;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user