Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.6.2.16 $; site prism.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!hjuxa!petsd!peora!codas!akguc!akgua!gatech!seismo!harvard!think!prism!matt From: matt@prism.UUCP Newsgroups: net.lang.c Subject: ANSI C: question re: prototypes Message-ID: <5400019@prism.UUCP> Date: Mon, 2-Dec-85 11:13:00 EST Article-I.D.: prism.5400019 Posted: Mon Dec 2 11:13:00 1985 Date-Received: Fri, 6-Dec-85 07:18:48 EST Lines: 17 Nf-ID: #N:prism:5400019:000:689 Nf-From: prism!matt Dec 2 11:13:00 1985 In reading the current (November 11) ANSI draft, I came up with the following question. Suppose one has a function which takes 2 integers and a pointer to struct foo as arguments. The following would be a legal function declaration or prototype: long mumble (int x, int y, struct foo *z) What about this? Would it also be legal in ANSI C? long mumble (int x, y, struct foo *z) ------------------------------------------------------------------------------ Matt Landau {cca, ihnp4!inmet, mit-eddie, wjh12} !mirror!matt Mirror Systems, Inc. 2076 Massachusetts Avenue Cambridge, MA 02140 ------------------------------------------------------------------------------