[rsbac] type declaration of pm_getname

Chirag Pandya cpandya at gmail.com
Thu Dec 9 19:19:29 CET 2004


On Thu, 9 Dec 2004 17:04:01 +0100, Andrea Pasquinucci <cesare at ucci.it> wrote:
> Trying to compile rsbac-admin-v1.2.3-p7 with gcc-3.4.2 I found a problem
> in pm_getname.c with the declaration of get_pm_all_list_nr which I
> solved by adding "all" to the type "rsbac_pm_list_t" according to
> pm_getname.h. Am I right/wrong or is the compiler wrong ?

You are right by adding "all" to the declaration.  Old compilers were
not catching this error.

> 
> diff pm_getname.c pm_getname_orig.c
> 268c268
> < enum   rsbac_pm_all_list_t get_pm_all_list_nr(const char * name)
> ---
> > enum   rsbac_pm_list_t get_pm_all_list_nr(const char * name)
> 

Regards

--
Chirag


More information about the rsbac mailing list