mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Add some missing consts.
This commit is contained in:
parent
792892ee17
commit
87c7a11664
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=219566
@ -129,7 +129,7 @@ enum action {
|
||||
#define MAX_ARGS 8
|
||||
|
||||
struct syscall_desc {
|
||||
char *sd_name;
|
||||
const char *sd_name;
|
||||
enum action sd_action;
|
||||
int sd_args[MAX_ARGS];
|
||||
};
|
||||
@ -193,7 +193,7 @@ static struct syscall_desc syscalls[] = {
|
||||
|
||||
struct flag {
|
||||
long long f_flag;
|
||||
char *f_str;
|
||||
const char *f_str;
|
||||
};
|
||||
|
||||
static struct flag open_flags[] = {
|
||||
@ -310,8 +310,8 @@ static struct flag fstatat_flags[] = {
|
||||
};
|
||||
|
||||
struct name {
|
||||
int n_name;
|
||||
char *n_str;
|
||||
int n_name;
|
||||
const char *n_str;
|
||||
};
|
||||
|
||||
static struct name pathconf_names[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user