Explorar o código

Use pid_t instead of int

Guillem Jover %!s(int64=16) %!d(string=hai) anos
pai
achega
ce11ba1704
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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
 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) {