Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 16:45:31 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        John Polstra <jdp@polstra.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: btokup() macro in sys/malloc.h
Message-ID:  <199901280045.QAA77982@apollo.backplane.com>
References:   <199901280037.QAA27694@vashon.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help

:>     NEW
:> 
:> #define btokup(addr)    (&kmemusage[((caddr_t)(addr) - kmembase) >> PAGE_SHIFT])
:
:The added parentheses don't make any difference, semantically.  This
:change probably wouldn't meet the criteria spelled out in style(9):

    Then style(9) needs to be updated, because we have to add parenthesis
    to be able to not get warnings with -Wall.

						-Matt

:John
:-- 
:  John Polstra                                               jdp@polstra.com
:  John D. Polstra & Co., Inc.                        Seattle, Washington USA
:  "Nobody ever went broke underestimating the taste of the American public."
:                                                            -- H. L. Mencken
:
:To Unsubscribe: send mail to majordomo@FreeBSD.org
:with "unsubscribe freebsd-current" in the body of the message
:

					Matthew Dillon 
					<dillon@backplane.com>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901280045.QAA77982>