fix mkpty function declarations
This commit is contained in:
parent
a1e34376de
commit
2893caf8ab
3 changed files with 14 additions and 6 deletions
|
|
@ -113,7 +113,7 @@ int bindpty(const int fdty) {
|
|||
* forkpty() function. It exists as a learning resource.
|
||||
* REF: https://sourceware.org/git/glibc.git -> ./login/forkpty.c
|
||||
*/
|
||||
pid_t forkmkpty() {
|
||||
pid_t forkmkpty(void) {
|
||||
int fdmx, fds;
|
||||
pid_t pid;
|
||||
if (mkpty(&fdmx, &fds))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue