From owner-freebsd-current Fri Jun 16 23:19:27 2000 Delivered-To: freebsd-current@freebsd.org Received: from gidora.zeta.org.au (gidora.zeta.org.au [203.26.10.25]) by hub.freebsd.org (Postfix) with SMTP id DFFA237B7C9 for ; Fri, 16 Jun 2000 23:19:22 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: (qmail 18282 invoked from network); 17 Jun 2000 06:19:20 -0000 Received: from unknown (HELO bde.zeta.org.au) (203.2.228.102) by gidora.zeta.org.au with SMTP; 17 Jun 2000 06:19:20 -0000 Date: Sat, 17 Jun 2000 16:19:18 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Nick Hibma Cc: Poul-Henning Kamp , current@FreeBSD.ORG Subject: Re: HEADSUP: bioops patch. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 16 Jun 2000, Nick Hibma wrote: > What about using uppercase names for > > buf_complete -> BUF_COMPLETE > > and friends to make it apparent that an indirect call is being made and Ugh. Upper case names for function-like interfaces are for ones that might be implemented as unsafe macros. > that the function might not be supported on that struct buf. Much like > newbus, kobj, and vnode ops. New interfaces like newbus and kobj shouldn't have allowed for being misimplemented as unsafe macros. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message