Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!bionet!arisia!ryan From: ryan@arisia.Xerox.COM (Michael Ryan) Newsgroups: comp.lang.c Subject: turning typedef use into an inline expression Keywords: typedef, pointer, function Message-ID: <14861@arisia.Xerox.COM> Date: 12 Dec 90 02:18:08 GMT Distribution: usa Organization: Xerox PARC Lines: 28 'c' hacks, please answer a question ... and yes, 1. I have looked in FAQ. 2. I have no access to cdecl. I am trying to figure how to change the 'pointer to function returning int' type from a typedef into an inline definition. the usage would be for a function that returns a pointer to a function returning an int. e.g: /* in file main.c */ typedef int (*pfi)(); extern pfi dave(); /* in file dave.c */ typedef int (*pfi)(); int fred() { return(2); }; pfi dave() { return(fred); }; I would like to know how to change the declarations of 'dave' from uses of the typedef to inline statements . I will gladly accept a pointer to cdecl. I will post a summary reply to E-MAIL responses. thanks in advance. -- michael ryan ryan@arisia.Xerox.COM ""