Forráskód Böngészése

Use pid_t instead of int

Guillem Jover 16 éve
szülő
commit
ce11ba1704
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      src/configure.c

+ 2 - 2
src/configure.c

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