linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@mindspring.com>
To: Glynn Clements <glynn@gclements.plus.com>
Cc: Steve Graegert <graegerts@gmail.com>,
	C programming list <linux-c-programming@vger.kernel.org>
Subject: Re: type qualifiers on function return types?
Date: Fri, 9 Dec 2005 14:04:09 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.63.0512091403170.30902@localhost.localdomain> (raw)
In-Reply-To: <17305.54523.539369.296130@cerise.gclements.plus.com>

On Fri, 9 Dec 2005, Glynn Clements wrote:

> Did you mean to declare the pointers as "volatile", rather than the
> function's return value?
>
> Pointer qualifiers go after the "*", e.g.
>
> 	typedef struct blah {
> 	  void           (**volatile start_address)(void);
> 	  char*          volatile stack;
> 	  void           (**volatile manual_start_address)(void);
> 	  ...

it wasn't what *i* was declaring, this was code i inherited from
elsewhere and it was exactly as i posted it earlier, so i think we've
established that, yes, it was silly code.

rday

      reply	other threads:[~2005-12-09 19:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-08 12:32 type qualifiers on function return types? Robert P. J. Day
2005-12-08 16:58 ` Steve Graegert
2005-12-08 17:43   ` Nate Jenkins
2005-12-08 18:00     ` Robert P. J. Day
2005-12-08 18:07     ` Steve Graegert
2005-12-08 18:16       ` Nate Jenkins
2005-12-09 19:25     ` Glynn Clements
2005-12-08 17:58   ` Robert P. J. Day
2005-12-09 19:03     ` Glynn Clements
2005-12-09 19:04       ` Robert P. J. Day [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.63.0512091403170.30902@localhost.localdomain \
    --to=rpjday@mindspring.com \
    --cc=glynn@gclements.plus.com \
    --cc=graegerts@gmail.com \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).