1
0
mirror of https://git.FreeBSD.org/src.git synced 2026-06-02 11:24:32 +00:00

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
+3 -3
View File
@@ -84,8 +84,8 @@ static void sbdirty(void);
int int
main(int argc, char *argv[]) main(int argc, char *argv[])
{ {
char *avalue, *jvalue, *Jvalue, *Lvalue, *lvalue, *Nvalue, *nvalue; const char *avalue, *jvalue, *Jvalue, *Lvalue, *lvalue, *Nvalue, *nvalue;
char *tvalue; const char *tvalue;
const char *special, *on; const char *special, *on;
const char *name; const char *name;
int active; int active;
@@ -711,7 +711,7 @@ journal_findfile(void)
} }
static void static void
dir_clear_block(char *block, off_t off) dir_clear_block(const char *block, off_t off)
{ {
struct direct *dp; struct direct *dp;