From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Carlos_Fern=E1ndez?= Subject: Re: static variables and functions in header files Date: Tue, 27 Aug 2002 14:19:32 +0700 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <013a01c24d9a$1f6f10b0$ba5311ac@bangkok1> References: <20020827071753.14590.qmail@relay1.home.ro> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: Alina Valea , linux-c-programming@vger.kernel.org Yes but you need to be aware of its meaning :-) Do it with care. Be gentle with the code... ----- Original Message ----- From: "Alina Valea" To: Sent: Tuesday, August 27, 2002 2:17 PM Subject: static variables and functions in header files > > > Hello, > > Has anybody ever declared variables and functions as static > in header files (that will be included in several .c files)? > I've just seen this in a project and it puzzled me. Is it OK > to do it? > > Thanks, Alina > > > ---- > > Home, no matter how far... > http://www.home.ro > - > To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >