[comp.sys.mac.programmer] Redefinition of f_SetJump and f_LongJump in ThinkC 4.0

jyp@wucs1.wustl.edu (Jerome Yvon Plun) (11/22/90)

In the Think C Class file Jumps.c, the functions f_SetJump and f_LongJump are
defined as
	short f_SetJump(void);
	void  f_LongJump(void);
with those two prototypes specifically included at the beginning of the c
file.

But, in the Jumps.h file, the routines are defined as:
	short f_SetJump(JumpBuffer theJumpBuffer);
	void  f_LongJump(JumpBuffer theJumpBuffer, short returnVal);
and this corresponds to the parameters that have been commented out in the 
body of each routine, and to the parameters provided in each call.

Thus, when I try to compile with the Check Prototypes option on, the compiler
choke. 

At last, my question:  Which definition of those routines should I keep?

Jerome

Jerome Plun	jyp@wucs1.wustl.edu       // Tell me why is it so hard to say
Dept of Computer Science                  // Brother don't you walk away
Washington University                     //
St. Louis, Mo                             // Hooters     "Zig Zag"