From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alina Valea Subject: static variables and functions in header files Date: 27 Aug 2002 07:17:53 -0000 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <20020827071753.14590.qmail@relay1.home.ro> Return-path: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-c-programming@vger.kernel.org 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