mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
Constify argument.
MFC after: 3 days
This commit is contained in:
parent
dcb39bd84a
commit
f78fe2608a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=229699
@ -149,7 +149,7 @@ role2str(int role)
|
||||
}
|
||||
|
||||
int
|
||||
drop_privs(struct hast_resource *res)
|
||||
drop_privs(const struct hast_resource *res)
|
||||
{
|
||||
char jailhost[sizeof(res->hr_name) * 2];
|
||||
struct jail jailst;
|
||||
|
@ -51,6 +51,6 @@ int snprlcat(char *str, size_t size, const char *fmt, ...);
|
||||
|
||||
int provinfo(struct hast_resource *res, bool dowrite);
|
||||
const char *role2str(int role);
|
||||
int drop_privs(struct hast_resource *res);
|
||||
int drop_privs(const struct hast_resource *res);
|
||||
|
||||
#endif /* !_SUBR_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user