Date: Sat, 2 Mar 2013 00:53:16 +0000 (UTC) From: Davide Italiano <davide@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r247603 - projects/calloutng/sys/kern Message-ID: <201303020053.r220rG7x063488@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: davide Date: Sat Mar 2 00:53:16 2013 New Revision: 247603 URL: http://svnweb.freebsd.org/changeset/base/247603 Log: Try to use a better type for 'cc_waiting' and 'cc_cancel' fields of cc_exec structure. Their value has to be only 0 or 1 and this change try to make this more evident. Suggested by: attilio Modified: projects/calloutng/sys/kern/kern_timeout.c Modified: projects/calloutng/sys/kern/kern_timeout.c ============================================================================== --- projects/calloutng/sys/kern/kern_timeout.c Sat Mar 2 00:53:12 2013 (r247602) +++ projects/calloutng/sys/kern/kern_timeout.c Sat Mar 2 00:53:16 2013 (r247603) @@ -123,8 +123,8 @@ struct cc_exec { int ce_migration_cpu; sbintime_t ce_migration_time; #endif - int cc_cancel; - int cc_waiting; + boolean_t cc_cancel; + boolean_t cc_waiting; }; /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303020053.r220rG7x063488>