delorie.com/archives/browse.cgi | search |
Date: | Fri, 1 Apr 94 17:19:52 -0500 |
From: | dj AT ctron DOT com (DJ Delorie) |
To: | WKIM AT vms DOT cis DOT pitt DOT edu |
Cc: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Subject: | Re: storage allocation of global var |
> > This was what I did until now. But, if the 'implicit' extern for *.h is > supported by most C compilers, then I wasted my time to put the unnecessary > wrappers. :) > What I do is this (in one of the .c files): #define extern #include "something.h" That makes them non-extern for that .c file only.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |