From owner-freebsd-current Thu Oct 3 08:30:55 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA02966 for current-outgoing; Thu, 3 Oct 1996 08:30:55 -0700 (PDT) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA02957 for ; Thu, 3 Oct 1996 08:30:49 -0700 (PDT) Received: by sovcom.kiae.su id AA13138 (5.65.kiae-1 ); Thu, 3 Oct 1996 18:23:35 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Thu, 3 Oct 96 18:23:34 +0300 Received: (from ache@localhost) by nagual.ru (8.7.6/8.7.3) id TAA00926; Thu, 3 Oct 1996 19:23:05 +0400 (MSD) Message-Id: <199610031523.TAA00926@nagual.ru> Subject: 'howmany' cruft To: bde@zeta.org.au (Bruce Evans) Date: Thu, 3 Oct 1996 19:23:04 +0400 (MSD) Cc: current@freebsd.org (FreeBSD-current) From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) Organization: self X-Class: Fast X-Mailer: ELM [version 2.4ME+ PL26 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 http://www.nagual.ru/~ache/