Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!osu-cis!tut!tut.cis.ohio-state.edu!peacock@mills-c From: peacock%mills-c@tut.cis.ohio-state.edu.UUCP Newsgroups: comp.lang.c Subject: Re: static stuff... Message-ID: <1881@tut.cis.ohio-state.edu> Date: Wed, 18-Nov-87 11:59:43 EST Article-I.D.: tut.1881 Posted: Wed Nov 18 11:59:43 1987 Date-Received: Sat, 21-Nov-87 06:21:21 EST References: <3011@sigi.Colorado.EDU> Sender: news@tut.cis.ohio-state.edu Organization: The Ohio State University Dept of Computer and Information Science Lines: 5 Declaring functions and globals as static causes them not to be externally defined. They are local to the source file they are declared in. If you have two source files with int foo() declarations, the linker will complain when you link them. Declaring them static int foo() fixes this.