Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: declarations in include files:  how do YOU feel?
Message-ID: <1989May12.154524.21471@utzoo.uucp>
Organization: U of Toronto Zoology
References: <179@larry.sal.wisc.edu> <11318@bloom-beacon.MIT.EDU> <180@larry.sal.wisc.edu>
Date: Fri, 12 May 89 15:45:24 GMT

In article <180@larry.sal.wisc.edu> jwp@larry.sal.wisc.edu.UUCP (Jeffrey W Percival) writes:
>... That is, if lib.h contains
>an "extern char foo()" and foo.c includes lib.h and then goes
>on to define foo, is this a problem?

In the absence of errors like type mismatches, no problems will ensue.
In fact, catching things like type mismatches is a very strong reason
to do exactly this.
-- 
Mars in 1980s:  USSR, 2 tries, |     Henry Spencer at U of Toronto Zoology
2 failures; USA, 0 tries.      | uunet!attcan!utzoo!henry henry@zoo.toronto.edu
