1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

add const and remove unused variable.

from mestre.
This commit is contained in:
tb 2015-12-02 18:34:10 +00:00
parent f819ad630c
commit c5e67ec545
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $OpenBSD: canfield.c,v 1.21 2015/11/30 08:38:13 tb Exp $ */
/* $OpenBSD: canfield.c,v 1.22 2015/12/02 18:34:10 tb Exp $ */
/* $NetBSD: canfield.c,v 1.7 1995/05/13 07:28:35 jtc Exp $ */
/*
@ -1627,7 +1627,7 @@ initall(void)
{
int i, ret;
char scorepath[PATH_MAX];
char *home;
const char *home;
time(&acctstart);
initdeck(deck);

View File

@ -1,4 +1,4 @@
/* $OpenBSD: cfscores.c,v 1.20 2015/11/30 08:38:13 tb Exp $ */
/* $OpenBSD: cfscores.c,v 1.21 2015/12/02 18:34:10 tb Exp $ */
/* $NetBSD: cfscores.c,v 1.3 1995/03/21 15:08:37 cgd Exp $ */
/*
@ -59,7 +59,7 @@ void printuser(void);
int
main(int argc, char *argv[])
{
char *home, *name;
const char *home;
int ret;
if (pledge("stdio rpath", NULL) == -1)