Xref: utzoo comp.lang.c:40565 comp.lang.c++:14437 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!mouse From: mouse@thunder.mcrcim.mcgill.edu (der Mouse) Newsgroups: comp.lang.c,comp.lang.c++ Subject: Re: Prototypes local or global opinions wanted Message-ID: <1991Jun28.160014.4548@thunder.mcrcim.mcgill.edu> Date: 28 Jun 91 16:00:14 GMT References: <1991Jun20.202241.7531@msuinfo.cl.msu.edu> <4845@inews.intel.com> Organization: McGill Research Centre for Intelligent Machines Lines: 16 In article <4845@inews.intel.com>, bhoughto@hopi.intel.com (Blair P. Houghton) writes: > In article <1991Jun24.132406.1@acad3.alaska.edu> fxsdb@acad3.alaska.edu writes: >> In article <6592@trantor.harris-atd.com>, mvm@caesun6.harris-atd.com (Matt Mahoney) writes: >>> Functions are always global, so their prototypes should be global too. >> Functions can be declared locally with local prototypes [...] > Block-scoped function definitions can import block-scoped variables. Are you aware you're cross-posting to comp.lang.c as well as .c++? (Block-scoped functions don't exist in C.) der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu