This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
(const void) as return type
- From: Christoph Csebits <christoph dot csebits at frequentis dot com>
- To: ecos discuss list <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 9 Jul 2003 17:34:47 +0200
- Subject: [ECOS] (const void) as return type
hi,
in infra/current/include/cyg_ass.h line 193
the cyg_check_func_ptr function expects
a pointer to a function with "const void"
as return type.
Does it make sense to have a function
returning a _const_ void ?
BTW:
powerpc-eabi-gcc (GCC) 3.2.2 with -W option
produces the warning: type qualifiers ignored on function return type
Christoph
--
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss