summaryrefslogtreecommitdiffstats
path: root/lib/libcam/cam_cdbparse.3
diff options
context:
space:
mode:
authorkbyanc <kbyanc@FreeBSD.org>2001-12-18 00:48:44 +0000
committerkbyanc <kbyanc@FreeBSD.org>2001-12-18 00:48:44 +0000
commitbba76f2085975aeba776356b2556c99b8c882bd5 (patch)
tree24c359962a5b0cb538373cfddc1ad98c4f8d6522 /lib/libcam/cam_cdbparse.3
parenta3b98398cbfb4b809f8577b6a95aabb2c30a1aeb (diff)
downloadFreeBSD-src-bba76f2085975aeba776356b2556c99b8c882bd5.zip
FreeBSD-src-bba76f2085975aeba776356b2556c99b8c882bd5.tar.gz
Const'ify the CDB format string passed to the CDB parsing routines
(csio_decode_visit() and family). Reviewed by: ken
Diffstat (limited to 'lib/libcam/cam_cdbparse.3')
-rw-r--r--lib/libcam/cam_cdbparse.318
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libcam/cam_cdbparse.3 b/lib/libcam/cam_cdbparse.3
index 8379899..1b9fb02 100644
--- a/lib/libcam/cam_cdbparse.3
+++ b/lib/libcam/cam_cdbparse.3
@@ -88,7 +88,7 @@
.Fa "u_int32_t flags"
.Fa "int retry_count"
.Fa "int timeout"
-.Fa "char *cmd_spec"
+.Fa "const char *cmd_spec"
.Fa "..."
.Fc
.Ft int
@@ -99,20 +99,20 @@
.Fa "u_int32_t flags"
.Fa "int retry_count"
.Fa "int timeout"
-.Fa "char *cmd_spec"
+.Fa "const char *cmd_spec"
.Fa "int (*arg_get)(void *hook, char *field_name)"
.Fa "void *gethook"
.Fc
.Ft int
.Fo csio_decode
.Fa "struct ccb_scsiio *csio"
-.Fa "char *fmt"
+.Fa "const char *fmt"
.Fa "..."
.Fc
.Ft int
.Fo csio_decode_visit
.Fa "struct ccb_scsiio *csio"
-.Fa "char *fmt"
+.Fa "const char *fmt"
.Fa "void (*arg_put)(void *hook"
.Fa "int letter"
.Fa "void *val"
@@ -124,27 +124,27 @@
.Fo buff_decode
.Fa "u_int8_t *buff"
.Fa "size_t len"
-.Fa "char *fmt"
+.Fa "const char *fmt"
.Fa "..."
.Fc
.Ft int
.Fo buff_decode_visit
.Fa "u_int8_t *buff"
.Fa "size_t len"
-.Fa "char *fmt"
+.Fa "const char *fmt"
.Fa "void (*arg_put)(void *, int, void *, int, char *)"
.Fa "void *puthook"
.Fc
.Ft int
.Fo csio_encode
.Fa "struct ccb_scsiio *csio"
-.Fa "char *fmt"
+.Fa "const char *fmt"
.Fa "..."
.Fc
.Ft int
.Fo csio_encode_visit
.Fa "struct ccb_scsiio *csio"
-.Fa "char *fmt"
+.Fa "const char *fmt"
.Fa "int (*arg_get)(void *hook, char *field_name)"
.Fa "void *gethook"
.Fc
@@ -152,7 +152,7 @@
.Fo buff_encode_visit
.Fa "u_int8_t *buff"
.Fa "size_t len"
-.Fa "char *fmt"
+.Fa "const char *fmt"
.Fa "int (*arg_get)(void *hook, char *field_name)"
.Fa "void *gethook"
.Fc
OpenPOWER on IntegriCloud