This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

(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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]