svc: cast id/force values instead of passing pointers around
commit5318b251ae44c4907963438b3d4fb1c65586ac8a
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Fri, 15 Mar 2019 13:15:07 +0000 (15 09:15 -0400)
committerJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Fri, 15 Mar 2019 13:15:07 +0000 (15 09:15 -0400)
tree8ce4f2ee5b27ba2c1e52c858fe109b0bc50ce156
parentaae1b4251888e21d43913e6304cdf95b5e7824c3
svc: cast id/force values instead of passing pointers around

The recent change to build native tools converted a couple of places from
pass-by-value to pass-by-reference.  This feels dangerous and not quite
idiomatic.  This commit undoes that change, and adds proper casts to silence
the compiler.
usr/src/cmd/svc/configd/client.c
usr/src/cmd/svc/svccfg/svccfg_libscf.c