summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2005-06-27 03:00:03 +0000
committerchristos <christos@NetBSD.org>2005-06-27 03:00:03 +0000
commite2e7fbd5688e993f3971bdc212f7f8f4db268486 (patch)
treee79173aa1b373eab6f7db9be3b27fd545e64824d /sys/dev
parentacdcf67bb0476e265e11f73982202ab57bdcf0af (diff)
no reason for those not to be const.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/cgdvar.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/cgdvar.h b/sys/dev/cgdvar.h
index 41025a2e656..af021c704d5 100644
--- a/sys/dev/cgdvar.h
+++ b/sys/dev/cgdvar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: cgdvar.h,v 1.3 2004/08/23 04:45:18 thorpej Exp $ */
+/* $NetBSD: cgdvar.h,v 1.4 2005/06/27 03:00:03 christos Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -41,15 +41,15 @@
/* ioctl(2) code */
struct cgd_ioctl {
- char *ci_disk;
- int ci_flags;
- int ci_unit;
- size_t ci_size;
- char *ci_alg;
- char *ci_ivmethod;
- size_t ci_keylen;
- char *ci_key;
- size_t ci_blocksize;
+ const char *ci_disk;
+ int ci_flags;
+ int ci_unit;
+ size_t ci_size;
+ const char *ci_alg;
+ const char *ci_ivmethod;
+ size_t ci_keylen;
+ const char *ci_key;
+ size_t ci_blocksize;
};
#ifdef _KERNEL