Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys unsigned -> unsigned int
details: https://anonhg.NetBSD.org/src/rev/58ee14fc4b3f
branches: trunk
changeset: 780018:58ee14fc4b3f
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Jul 07 16:15:20 2012 +0000
description:
unsigned -> unsigned int
diffstat:
sys/kern/subr_disk_open.c | 6 +++---
sys/sys/device.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 948728a3dbab -r 58ee14fc4b3f sys/kern/subr_disk_open.c
--- a/sys/kern/subr_disk_open.c Sat Jul 07 16:10:23 2012 +0000
+++ b/sys/kern/subr_disk_open.c Sat Jul 07 16:15:20 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_disk_open.c,v 1.9 2012/07/07 16:10:23 tsutsui Exp $ */
+/* $NetBSD: subr_disk_open.c,v 1.10 2012/07/07 16:15:20 tsutsui Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_disk_open.c,v 1.9 2012/07/07 16:10:23 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_disk_open.c,v 1.10 2012/07/07 16:15:20 tsutsui Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -89,7 +89,7 @@
}
int
-getdisksize(struct vnode *vp, uint64_t *numsecp, unsigned *secsizep)
+getdisksize(struct vnode *vp, uint64_t *numsecp, unsigned int *secsizep)
{
struct partinfo dpart;
struct dkwedge_info dkw;
diff -r 948728a3dbab -r 58ee14fc4b3f sys/sys/device.h
--- a/sys/sys/device.h Sat Jul 07 16:10:23 2012 +0000
+++ b/sys/sys/device.h Sat Jul 07 16:15:20 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: device.h,v 1.141 2012/06/10 17:05:18 mlelstv Exp $ */
+/* $NetBSD: device.h,v 1.142 2012/07/07 16:15:21 tsutsui Exp $ */
/*
* Copyright (c) 1996, 2000 Christopher G. Demetriou
@@ -428,7 +428,7 @@
extern uint64_t booted_nblks; /* and the size of that wedge */
struct vnode *opendisk(struct device *);
-int getdisksize(struct vnode *, uint64_t *, unsigned *);
+int getdisksize(struct vnode *, uint64_t *, unsigned int *);
struct dkwedge_info;
int getdiskinfo(struct vnode *, struct dkwedge_info *);
Home |
Main Index |
Thread Index |
Old Index