[issue1390] Use id_t type for {get,set}priority()

Matthew Dillon dillon at apollo.backplane.com
Tue May 26 11:56:30 PDT 2009


:The attached patch replaces `int' with `id_t' wherever appropriate. I have =
:done
:a build{world,kernel} and install{world,kernel} and I don't broke anything.=
: Plus
:some test cases I have, continue to pass.
:
:If anyone objects to this patch speak now or forever hold your peace!
:
:Cheers,
:Stathis

    I dunno.  id_t is declared in GCC's sys-types.h.  I don't see it in
    any of our own header files.  pid_t might be the better choice there,
    since pid_t is also used for things like setpgrp() and setpgid().

						-Matt





More information about the Bugs mailing list