Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!linus!philabs!pwa-b!mmintl!franka From: franka@mmintl.UUCP (Frank Adams) Newsgroups: comp.lang.c Subject: Re: Scope of externals definitions Message-ID: <2450@mmintl.UUCP> Date: Fri, 2-Oct-87 14:58:28 EDT Article-I.D.: mmintl.2450 Posted: Fri Oct 2 14:58:28 1987 Date-Received: Wed, 7-Oct-87 07:05:14 EDT References: <8652@utzoo.UUCP> <69800001@cdp> Reply-To: franka@mmintl.UUCP (Frank Adams) Organization: Multimate International, E. Hartford, CT. Lines: 19 In article <69800001@cdp> cprodehl@cdp.UUCP writes: > >Declaring a function (or prototype for that matter) inside block scope >is now undefined behavior. I assume this means that: (1) references to the declared function name following the declaration inside the block are guaranteed to work. (2) the behavior for references outside the block scope is undefined. In other words, it not really the declaration inside the block whose behavior is undefined, but the reference to that declared object from outside the block. -- Frank Adams ihnp4!philabs!pwa-b!mmintl!franka Ashton-Tate 52 Oakland Ave North E. Hartford, CT 06108