From b9731ee5ee48b3c43fe7f669f8fe6c16a9b2eb8e Mon Sep 17 00:00:00 2001 From: Michael Gran Date: Tue, 10 Apr 2018 14:01:12 -0700 Subject: [PATCH] start_child should return pid_t This is to make the definition and declaration agree. * posix-w32.h: change return value of start_child to pid_t --- libguile/posix-w32.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libguile/posix-w32.h b/libguile/posix-w32.h index f11a25e49..7c44a43ab 100644 --- a/libguile/posix-w32.h +++ b/libguile/posix-w32.h @@ -3,7 +3,7 @@ #ifndef SCM_POSIX_W32_H #define SCM_POSIX_W32_H -/* Copyright (C) 2001, 2006 Free Software Foundation, Inc. +/* Copyright (C) 2001, 2006, 2018 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License @@ -75,9 +75,9 @@ SCM_INTERNAL int uname (struct utsname * uts); SCM_INTERNAL int waitpid (intptr_t, int *, int); SCM_INTERNAL int w32_status_to_termsig (DWORD status); -SCM_INTERNAL int start_child (const char *exec_file, char **argv, - int reading, int c2p[2], int writing, int p2c[2], - int infd, int outfd, int errfd); +SCM_INTERNAL pid_t start_child (const char *exec_file, char **argv, + int reading, int c2p[2], int writing, + int p2c[2], int infd, int outfd, int errfd); SCM_INTERNAL int kill (int pid, int sig);