Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: function pointer question Date: Fri, 02 Jan 2026 09:37:17 -0800 Organization: None to speak of Lines: 17 Message-ID: <874ip3vrua.fsf@example.invalid> References: <10j7rs6$7c9e$1@dont-email.me> <878qeguw0p.fsf@example.invalid> <10j8liu$fgsk$2@dont-email.me> <10j8r9n$ha1t$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Fri, 02 Jan 2026 17:37:18 +0000 (UTC) Injection-Info: dont-email.me; posting-host="0c5ef296c1f282275d44508e0b1eb011"; logging-data="622764"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/GDMzNWxdKc0sVgvKpCva9" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:g6EPgfvRSnC7suCGcI63NnI67Zk= sha1:puOeEbCNH1eMiHMkLJBeoKcWzsg= Xref: csiph.com comp.lang.c:396080 highcrew writes: > On 1/2/26 3:43 PM, Michael Sanders wrote: >> (It's also common to define a typedef for a >> pointer-to-function type, but I prefer to typedef the function type >> itself > > OK, that's crazy! I didn't know of this! I wrote the above ("It's also common..."), not Michael. > Thanks for sharing! You're welcome. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */