|
@@ -488,7 +488,7 @@ md5hash(struct pkginfo *pkg, char *hashbuf, const char *fn)
|
|
|
static void
|
|
static void
|
|
|
showdiff(const char *old, const char *new)
|
|
showdiff(const char *old, const char *new)
|
|
|
{
|
|
{
|
|
|
- int pid;
|
|
|
|
|
|
|
+ pid_t pid;
|
|
|
|
|
|
|
|
pid = subproc_fork();
|
|
pid = subproc_fork();
|
|
|
if (!pid) {
|
|
if (!pid) {
|
|
@@ -526,7 +526,7 @@ static void
|
|
|
suspend(void)
|
|
suspend(void)
|
|
|
{
|
|
{
|
|
|
const char *env;
|
|
const char *env;
|
|
|
- int pid;
|
|
|
|
|
|
|
+ pid_t pid;
|
|
|
|
|
|
|
|
env = getenv(NOJOBCTRLSTOPENV);
|
|
env = getenv(NOJOBCTRLSTOPENV);
|
|
|
if (env && *env) {
|
|
if (env && *env) {
|