Fix a comment, update a variable name in a prototype; all cosmetic.

This commit is contained in:
Todd C. Miller
2012-08-07 14:47:58 -04:00
parent 3ba8da4ab6
commit 0655deab57
2 changed files with 2 additions and 2 deletions

View File

@@ -139,7 +139,7 @@ mon_handler(int s, siginfo_t *info, void *context)
/* /*
* If the signal came from the command we ran, just ignore * If the signal came from the command we ran, just ignore
* it since we don't want the child to indirectly kill itself. * it since we don't want the command to indirectly kill itself.
* This can happen with, e.g. BSD-derived versions of reboot * This can happen with, e.g. BSD-derived versions of reboot
* that call kill(-1, SIGTERM) to kill all other processes. * that call kill(-1, SIGTERM) to kill all other processes.
*/ */

View File

@@ -35,7 +35,7 @@ extern volatile pid_t cmnd_pid;
/* exec_pty.c */ /* exec_pty.c */
struct command_details; struct command_details;
struct command_status; struct command_status;
int fork_pty(struct command_details *details, int sv[], int *maxfd, sigset_t *oset); int fork_pty(struct command_details *details, int sv[], int *maxfd, sigset_t *omask);
int perform_io(fd_set *fdsr, fd_set *fdsw, struct command_status *cstat); int perform_io(fd_set *fdsr, fd_set *fdsw, struct command_status *cstat);
int suspend_parent(int signo); int suspend_parent(int signo);
void fd_set_iobs(fd_set *fdsr, fd_set *fdsw); void fd_set_iobs(fd_set *fdsr, fd_set *fdsw);