Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys dont use size_t, but a fixed 64 bit unsigned type fl...



details:   https://anonhg.NetBSD.org/src/rev/4503414ef86a
branches:  trunk
changeset: 763808:4503414ef86a
user:      ahoka <ahoka%NetBSD.org@localhost>
date:      Mon Apr 04 18:23:39 2011 +0000

description:
dont use size_t, but a fixed 64 bit unsigned type flash_size_t in ioctls

diffstat:

 sys/sys/flashio.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r d89dd36d781f -r 4503414ef86a sys/sys/flashio.h
--- a/sys/sys/flashio.h Mon Apr 04 18:02:01 2011 +0000
+++ b/sys/sys/flashio.h Mon Apr 04 18:23:39 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: flashio.h,v 1.2 2011/04/04 16:26:09 ahoka Exp $        */
+/*     $NetBSD: flashio.h,v 1.3 2011/04/04 18:23:39 ahoka Exp $        */
 
 /*-
  * Copyright (c) 2011 Department of Software Engineering,
@@ -79,8 +79,8 @@
 
 struct flash_info_params {
        flash_off_t ip_flash_size;
-       size_t ip_page_size;
-       size_t ip_erase_size;
+       flash_size_t ip_page_size;
+       flash_size_t ip_erase_size;
        uint8_t ip_flash_type;
 };
 



Home | Main Index | Thread Index | Old Index