Path: utzoo!attcan!uunet!sdrc!scjones From: scjones@sdrc.UUCP (Larry Jones) Newsgroups: comp.lang.c Subject: Recursive function declarations Message-ID: <323@sdrc.UUCP> Date: 14 Jul 88 22:21:03 GMT Organization: Structural Dynamics Research Corp., Cincinnati Lines: 16 I am building a state machine program which is composed of a number of functions. Each function does it's thing and returns a pointer to the next function to be called. Each of the functions has exactly the same type including return type and arguments. My problem is exactly how to declare these functions -- since the return type is identical to the type of the function, you get an infinite recursion (foo is a function returning a pointer to a function returning a pointer to a ...). Anyone have any suggestions? ---- Larry Jones UUCP: ...!sdrc!scjones SDRC AT&T: (513) 576-2070 2000 Eastman Dr. BIX: ltl Milford, OH 45150 Nancy Reagan on superconductivity: "Just say mho."