From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9be3c5a7404ec11a75f4ccd4211fbcf9.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199606171501.RAA24436@ceres.tat.physik.uni-tuebingen.de> Date: Mon, 17 Jun 1996 18:22:26 +0100 (BST) From: David Fell Subject: Re: string.h, strlen(), warnings from gcc In-Reply-To: On Sun, 16 Jun 1996, Richard Henderson wrote: > > Can anyone explain why I should need to explicitly specify extern > > strlen() after including for the following simple example? > > The only ones that come to mind are: > > - your string.h is (really) old and buggy > - your string.h has been corrupted. > > What distribution are you using? Does strlen's declaration > actually appear in your string.h? I'm using the Craftwork 2.1 AXP distribution. has a conditional like #ifndef __GNUC__ extern ... #endif Redhat 3.0.3 on i386 on my home box doesn't have this conditional stuff around these definitions. But this doesn't automatically make my AXP headers wrong. Is this an area of gcc header files that has changed over the years? Regards, Borris mailto:borris@chaos.org.uk http://chaos.org.uk/