Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!ima!haddock!karl From: karl@haddock.UUCP Newsgroups: comp.lang.c Subject: Register arguments (was: Order of registers) Message-ID: <380@haddock.UUCP> Date: Mon, 2-Mar-87 15:56:19 EST Article-I.D.: haddock.380 Posted: Mon Mar 2 15:56:19 1987 Date-Received: Tue, 3-Mar-87 21:28:46 EST References: <3950004@nucsrl.UUCP> <83@ucdavis.UUCP> Reply-To: karl@haddock.ISC.COM.UUCP (Karl Heuer) Organization: Interactive Systems, Boston Lines: 10 Keywords: ANSI function prototype In article <13646@sun.uucp> guy@sun.UUCP (Guy Harris) writes: > extern int foo(register int i); > int foo(register int i) { ... } >[These declarations] could cause "i" to be passed in a register. You imply that the declaration "extern int foo(int)" (without "register") is incompatible with the definition "int foo(register int i) { ... }". Does X3J11 really say this? Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint