From cracauer@gilgamesch.bik-gmbh.de  Wed Sep 16 14:56:16 1998
Received: from gilgamesch.bik-gmbh.de (gilgamesch.bik-gmbh.de [194.233.237.91])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA16461
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Sep 1998 14:56:11 -0700 (PDT)
          (envelope-from cracauer@gilgamesch.bik-gmbh.de)
Received: (from cracauer@localhost) by gilgamesch.bik-gmbh.de (8.8.8/8.7.3) id XAA26939; Wed, 16 Sep 1998 23:55:39 +0200 (MET DST)
Message-Id: <19980916235538.A26928@cons.org>
Date: Wed, 16 Sep 1998 23:55:38 +0200
From: Martin Cracauer <cracauer@cons.org>
To: joerg_wunsch@interface-business.de, FreeBSD-gnats-submit@freebsd.org
In-Reply-To: <199605241737.TAA14629@ida.interface-business.de>; from J Wunsch on Fri, May 24, 1996 at 07:37:28PM +0200
Subject: Re: Conflicting header files
References: <199605241737.TAA14629@ida.interface-business.de>

>Number:         7953
>Category:       kern
>Synopsis:       Re: Conflicting header files
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 16 15:00:01 PDT 1998
>Closed-Date:    Fri Sep 18 21:50:16 PDT 1998
>Last-Modified:  Wed Oct 26 05:46:35 GMT 2005
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Fri Sep 18 21:50:16 PDT 1998 
State-Changed-Why:  
I don't believe this was intended to be a PR. 
>Unformatted:
In <199605241737.TAA14629@ida.interface-business.de>, J Wunsch wrote: 
> The definitions of `key_t' in <sys/types.h> and <machine/console.h>
> conflict when used in a C++ environment.

[pcvt_ioctl.h suffers from the same problem.]

Folks,

a name <something>_t for a struct (not the typedef of the struct,
which would be bad enough, see style(9)) is very counter-intuitive,
leaving the problems the C++ folks introduce by their typedef-saving
"solution" aside for a moment.

May I kindly request that you change it or otherwise keep friendly
when I change it this weekend? Yes, I do a full make world, as the
userland console support stuff will probably break.

Looks fairly trivial [famous last words...].

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer
BSD User Group Hamburg, Germany     http://www.bsdhh.org/
