Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Message-ID: <006501c0b120$094af0f0$0200a8c0@lifelesswks> From: "Robert Collins" To: Subject: YANDQ Date: Tue, 20 Mar 2001 20:27:45 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 20 Mar 2001 09:22:14.0686 (UTC) FILETIME=[4046D3E0:01C0B11F] YetAnotherNewDeveloperQuestion (couldn't see anything obvious in the archives either) The posix specs I'm reading http://www.opengroup.org/onlinepubs/7908799/ indicate that most of the types I'm working with (sem_t pthread_*_t) should be defined in with only the prototypes and #defines in the respective header files. Are these specs way of base? If not, how do I go about altering sys/types.h (which I note appears to be part of newlib). The question arises because I have an external typedef which is different from the internal typedef. While I could type cast everything to make it match up (class pthread ** to void ** for instance) it reads a lot more easily (which helps debugging) with no casting involved. FYI the external typedefs are of the form typedef void * foo_t and the internal ones typedef class foo * foo_t. At the moment I've just duplicated the #defines across the files, but I'd really rather have the types separated out from the prototypes and #defines... Rob