Date: Tue, 19 Mar 2002 01:30:50 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 7934 for review Message-ID: <200203190930.g2J9Uoo80972@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=7934 Change 7934 by peter@peter_overcee on 2002/03/19 01:29:55 add const to deal with __func__ being const and resulting warnings.. Affected files ... ... //depot/projects/ia64/sys/kern/subr_sbuf.c#4 edit Differences ... ==== //depot/projects/ia64/sys/kern/subr_sbuf.c#4 (text+ko) ==== @@ -84,7 +84,7 @@ */ #if defined(_KERNEL) && defined(INVARIANTS) static void -_assert_sbuf_integrity(char *fun, struct sbuf *s) +_assert_sbuf_integrity(const char *fun, struct sbuf *s) { KASSERT(s != NULL, ("%s called with a NULL sbuf pointer", fun)); @@ -95,7 +95,7 @@ } static void -_assert_sbuf_state(char *fun, struct sbuf *s, int state) +_assert_sbuf_state(const char *fun, struct sbuf *s, int state) { KASSERT((s->s_flags & SBUF_FINISHED) == state, ("%s called with %sfinished or corrupt sbuf", fun, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203190930.g2J9Uoo80972>