Constify string pointers.

Verified with:	sha256(1)
MFC after:	2 weeks
This commit is contained in:
Xin LI 2013-05-16 21:04:56 +00:00
parent 7a019d4487
commit 1b83e8a3f8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250718

View File

@ -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;