Add missing things: a prototype and a const qualifier.

Found by:	WARNS=4
This commit is contained in:
Yaroslav Tykhiy 2006-12-23 22:39:38 +00:00
parent 6baacecd1b
commit 499a1062fa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165506

View File

@ -95,6 +95,8 @@ closeswap(w)
static struct kvm_swap kvmsw[NSWAP];
static int kvnsw, okvnsw;
static void calclens(void);
#define CONVERT(v) ((int)((int64_t)(v) * pagesize / blocksize))
static void
@ -159,7 +161,7 @@ fetchswap()
void
labelswap()
{
char *name;
const char *name;
int i;
fetchswap();