*BSD News Article 33780


Return to BSD News archive

Xref: sserve comp.windows.x.i386unix:10932 comp.os.386bsd.apps:1325 comp.os.386bsd.questions:12044
Newsgroups: comp.windows.x.i386unix,comp.os.386bsd.apps,comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!pipex!lyra.csx.cam.ac.uk!doc.ic.ac.uk!uknet!festival!edcogsci!richard
From: richard@cogsci.ed.ac.uk (Richard Tobin)
Subject: Re: __NetBSD__ X11R6 i386
Message-ID: <CtysM4.CHC@cogsci.ed.ac.uk>
Organization: HCRC, University of Edinburgh
References: <31mgdu$s9d@news.rhrz.uni-bonn.de> <deeken.775902001@iti.informatik.th-darmstadt.de> <31nqad$mii@news.rhrz.uni-bonn.de>
Date: Wed, 3 Aug 1994 15:06:04 GMT
Lines: 17

In article <31nqad$mii@news.rhrz.uni-bonn.de> juengst@saph2.physik.uni-bonn.de writes:
>It is not ok to declare a foreign identifer in your own
>source file. The only compatible way is to include the required header
>files of the foreign software.

I don't have a copy of the relevant Posix document, but the ANSI/ISO C
standard allows you declare library functions yourself instead of
including the header.

Of course, you must declare them correctly!

-- Richard
-- 
Richard Tobin, HCRC, Edinburgh University                 R.Tobin@ed.ac.uk

Ooooh!  I didn't know we had a king.  I thought we were an
autonomous collective.