mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-20 07:14:26 +01:00
Constify string pointers.
Verified with: sha256(1) MFC after: 2 weeks
This commit is contained in:
parent
7a019d4487
commit
1b83e8a3f8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250718
@ -84,8 +84,8 @@ static void sbdirty(void);
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
char *avalue, *jvalue, *Jvalue, *Lvalue, *lvalue, *Nvalue, *nvalue;
|
||||
char *tvalue;
|
||||
const char *avalue, *jvalue, *Jvalue, *Lvalue, *lvalue, *Nvalue, *nvalue;
|
||||
const char *tvalue;
|
||||
const char *special, *on;
|
||||
const char *name;
|
||||
int active;
|
||||
@ -711,7 +711,7 @@ journal_findfile(void)
|
||||
}
|
||||
|
||||
static void
|
||||
dir_clear_block(char *block, off_t off)
|
||||
dir_clear_block(const char *block, off_t off)
|
||||
{
|
||||
struct direct *dp;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user