Hi!
> +struct syscall_info {
> +     char            *sy_name;
> +     int             sy_type;
> +     struct status   *(*sy_syscall)();
> +     int             (*sy_buffer)();
> +     char            *(*sy_format)();
> +     int             sy_flags;
> +     int             sy_bits;
> +};

Ideally these callbacks should have defined their parameters too.
Otherwise the compiler can't check if we passed somehow correct
parametetrs. Somethink like (*fn)(int, void*, char); should be enough.

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to