Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!rutgers!labrea!decwrl!pyramid!prls!gardner
From: gardner@prls.UUCP (Robert Gardner)
Newsgroups: comp.lang.c
Subject: ANSI function prototypes
Message-ID: <5215@prls.UUCP>
Date: Mon, 27-Jul-87 13:11:54 EDT
Article-I.D.: prls.5215
Posted: Mon Jul 27 13:11:54 1987
Date-Received: Tue, 28-Jul-87 05:17:31 EDT
References: <8469@brl-adm.ARPA>
Reply-To: gardner@prls.UUCP (Robert Gardner)
Organization: Philips Research Labs, Sunnyvale, California
Lines: 13

(My only experience with function prototypes is with Lightspeed C.)
Does ANSI provide any way of prototyping optional parameters so
that type checking is still done on the optional parameter(s). 
I.e. can you somehow declare
      int foo(int,.../* but if present it should be one int */);

Also, it bothers me that parameters (i.e. variable args) can
be passed differently depending on whether or not a prototype is
present.  I can just see people spending hours trying to track down
a bug because they forgot to include the prototype. (Or am I the
only one who has an imperfect memory while programming?:-)

Robert Gardner