Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Oct 1996 19:23:04 +0400 (MSD)
From:      =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) <ache@nagual.ru>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        current@freebsd.org (FreeBSD-current)
Subject:   'howmany' cruft
Message-ID:  <199610031523.TAA00926@nagual.ru>

index | next in thread | raw e-mail

What I find in
sys/types.h:
#ifndef howmany
#define	howmany(x, y)	(((x) + ((y) - 1)) / (y))
#endif
I find it because netpbm redifines it and gcc produce warning on this place.
It looks very suspicious for me (I mean ANSI namespace violation).
Do we really need it? Can we rename it to _howmany at least?

-- 
Andrey A. Chernov
<ache@nagual.ru>
http://www.nagual.ru/~ache/


home | help

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