Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c
Subject: Re: function pointer question
Date: Sun, 11 Jan 2026 11:49:03 -0800
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <864ioslykw.fsf@linuxsc.com>
References: <10j7rs6$7c9e$1@dont-email.me> <20260102091518.226@kylheku.com> <10j96mn$jrsp$1@dont-email.me> <10jc4n0$1ijf2$1@dont-email.me> <10jftcp$2locm$3@dont-email.me> <10jivdb$3p6r2$1@dont-email.me> <10jjbfc$3jbe4$3@dont-email.me> <10jv4of$3kiuj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Sun, 11 Jan 2026 19:49:05 +0000 (UTC)
Injection-Info: dont-email.me; posting-host="af31aae2f202a5674f65c79be352c26d"; logging-data="172910"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18EB1R66yDyqCF8sBgj/iXQxrsWhVQaEA4="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:XWrIRm6M50BffBLwNvYKlGw91Qw= sha1:1zt3tYfh7nTMTCtC5JMSkFVUhjI=
Xref: csiph.com comp.lang.c:396348
Andrey Tarasevich writes:
> On Tue 1/6/2026 7:58 AM, James Kuyper wrote:
>
>> However,
>>
>> (void) *foo;
>>
>> would be a declaration equivalent to
>>
>> void *foo;
>>
>> which is a pointer to void, which would fit the context of our previous
>> discussion. Could that be what you're actually asking about?
>
> Um... I believe Tim Rentsch is correct in stating that C declaration
> syntax does not allow this. [...]
Thanks Andrey. :)