Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!samsung!ernie.viewlogic.com!m2c!crackers!transfer!lectroid!bigbootay.sw.stratus.com!dswartz From: dswartz@bigbootay.sw.stratus.com Newsgroups: comp.lang.c Subject: ANSI C Prototypes Message-ID: <3744@lectroid.sw.stratus.com> Date: 14 Jan 91 19:43:11 GMT Sender: usenet@lectroid.sw.stratus.com Reply-To: dswartz@bigbootay.sw.stratus.com () Distribution: na Organization: Stratus Computer, Software Engineering. Lines: 16 Here's my problem: I have a program with a couple of procedures which use the varargs package (for tracing and debugging.) I have an include file which defines prototypes for all of the procedures in the source file. The problem is that to make the calling references happy, I seem to need to use the syntax "void foobar (char *, ...);" Unfortunately, the varargs.h on my system defines the dummy argument as an int and there is only one such argument, so this disagrees with the prototype. I have gotten around this by placing all of the varargs routines in a separate file which doesn't include the prototype include file. Am I out to lunch, or is there an "official" way to do this? -- Dan S.