diff options
author | pjd <pjd@FreeBSD.org> | 2011-11-16 19:06:55 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2011-11-16 19:06:55 +0000 |
commit | f01187d1ea96ec4898ca0a97e7c70b569b1beda0 (patch) | |
tree | 20486e4140eaee56872d11216d4c4b77a808e2e3 /share/man | |
parent | bd5d71350cb8ceb468ca094d4e9e49b8a866e171 (diff) | |
download | FreeBSD-src-f01187d1ea96ec4898ca0a97e7c70b569b1beda0.zip FreeBSD-src-f01187d1ea96ec4898ca0a97e7c70b569b1beda0.tar.gz |
Constify stack argument for functions that don't modify it.
Reviewed by: ed, kib, jhb
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man9/stack.9 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/share/man/man9/stack.9 b/share/man/man9/stack.9 index 2c2b762..fee6b8f 100644 --- a/share/man/man9/stack.9 +++ b/share/man/man9/stack.9 @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 24, 2009 +.Dd November 16, 2011 .Dt STACK 9 .Os .Sh NAME @@ -46,21 +46,21 @@ In the kernel configuration file: .Ft int .Fn stack_put "struct stack *st" "vm_offset_t pc" .Ft void -.Fn stack_copy "struct stack *src" "struct stack dst" +.Fn stack_copy "const struct stack *src" "struct stack dst" .Ft void .Fn stack_zero "struct stack *st" .Ft void -.Fn stack_print "struct stack *st" +.Fn stack_print "const struct stack *st" .Ft void -.Fn stack_print_ddb "struct stack *st" +.Fn stack_print_ddb "const struct stack *st" .Ft void -.Fn stack_print_short "struct stack *st" +.Fn stack_print_short "const struct stack *st" .Ft void -.Fn stack_print_short_ddb "struct stack *st" +.Fn stack_print_short_ddb "const struct stack *st" .Ft void -.Fn stack_sbuf_print "struct sbuf sb*" "struct stack *st" +.Fn stack_sbuf_print "struct sbuf sb*" "const struct stack *st" .Ft void -.Fn stack_sbuf_print_ddb "struct sbuf sb*" "struct stack *st" +.Fn stack_sbuf_print_ddb "struct sbuf sb*" "const struct stack *st" .Ft void .Fn stack_save "struct stack *st" .Sh DESCRIPTION |