mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-18 18:40:22 +02:00
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
This commit is contained in:
parent
9bf1ae81e1
commit
b9731ee5ee
1 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
||||||
#ifndef SCM_POSIX_W32_H
|
#ifndef SCM_POSIX_W32_H
|
||||||
#define 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
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public License
|
* 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 waitpid (intptr_t, int *, int);
|
||||||
SCM_INTERNAL int w32_status_to_termsig (DWORD status);
|
SCM_INTERNAL int w32_status_to_termsig (DWORD status);
|
||||||
|
|
||||||
SCM_INTERNAL int start_child (const char *exec_file, char **argv,
|
SCM_INTERNAL pid_t start_child (const char *exec_file, char **argv,
|
||||||
int reading, int c2p[2], int writing, int p2c[2],
|
int reading, int c2p[2], int writing,
|
||||||
int infd, int outfd, int errfd);
|
int p2c[2], int infd, int outfd, int errfd);
|
||||||
|
|
||||||
SCM_INTERNAL int kill (int pid, int sig);
|
SCM_INTERNAL int kill (int pid, int sig);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue