2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

kill unused *_matched macros

This commit is contained in:
Todd C. Miller
1999-08-09 22:17:05 +00:00
parent 76c801a685
commit b18495e627

13
parse.h
View File

@@ -62,13 +62,9 @@ struct sudo_command {
};
#define user_matches (match[top-1].user)
#define user_matched (match[top].user)
#define cmnd_matches (match[top-1].cmnd)
#define cmnd_matched (match[top].cmnd)
#define host_matches (match[top-1].host)
#define host_matched (match[top].host)
#define runas_matches (match[top-1].runas)
#define runas_matched (match[top].runas)
#define no_passwd (match[top-1].nopass)
/*
@@ -84,6 +80,15 @@ struct command_match {
int nopasswd;
};
/*
* Structure describing an alias match in parser.
*/
typedef struct {
int type;
char *name;
int val;
} aliasinfo;
/*
* Structure containing Cmnd_Alias's if "sudo -l" is used.
*/