Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!ames!killer!brian From: brian@killer.Dallas.TX.US (Brian Pellerin) Newsgroups: comp.lang.c Subject: Typecast of Pointers to Functions Keywords: pointers, functions, typecast Message-ID: <7689@killer.Dallas.TX.US> Date: 28 Mar 89 19:24:26 GMT Reply-To: brian@killer.DALLAS.TX.US (Brian Pellerin) Distribution: usa Organization: The Unix(R) Connection BBS, Dallas, Tx Lines: 14 I am looking for an equivalent way to specify a typecast of a pointer to a function other than using typedef. For Example: typedef int (*FCN_PTR) (); FCN_PTR fcn_ptr1; int (*fcn_ptr2) (); fcn_ptr1 = (FCN_PTR) NULL; /* Typecast using typedef */ fcn_ptr2 = (???????) NULL; /* Do Not Use the typedef. What Goes Here? */ Any Suggestions? Thanks. ...uunet!killer!brian