Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!princeton!udel!rochester!bbn!husc6!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.UUCP Newsgroups: comp.lang.c Subject: Re: Scope of externals definitions Message-ID: <6497@brl-smoke.ARPA> Date: Wed, 30-Sep-87 23:23:01 EDT Article-I.D.: brl-smok.6497 Posted: Wed Sep 30 23:23:01 1987 Date-Received: Sat, 3-Oct-87 05:41:54 EDT References: <8652@utzoo.UUCP> <69800001@cdp> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 12 In article <69800001@cdp> cprodehl@cdp.UUCP writes: >Declaring a function (or prototype for that matter) inside block scope >is now undefined behavior. ... Hi, Courtney! My notes have it that it is undefined only if declared "static", not in general. { extern void *malloc(unsigned); /* okay */ void mysubr(void); /* okay */ static void another(void); /* undefined, may work or may not */ ... }