Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!wuarchive!cec2!news From: jyp@wucs1.wustl.edu (Jerome Yvon Plun) Newsgroups: comp.sys.mac.programmer Subject: Redefinition of f_SetJump and f_LongJump in ThinkC 4.0 Keywords: Think C, Symantec Message-ID: <1990Nov21.204325.27043@cec1.wustl.edu> Date: 21 Nov 90 20:43:25 GMT Sender: news@cec1.wustl.edu (USENET News System) Distribution: usa Organization: Washington University, St. Louis MO Lines: 24 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"