X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a129ed9494a4958069d0d74d18e9211b8cb139f2..ed4e21fb32d214ed9c45d0bd4eac9d3dd8ee6c9d:/uip/rcvtty.c?ds=inline diff --git a/uip/rcvtty.c b/uip/rcvtty.c index 181c422b..1e28623a 100644 --- a/uip/rcvtty.c +++ b/uip/rcvtty.c @@ -58,11 +58,6 @@ static int width = -1; static char *form = NULL; static char *format = NULL; -/* - * external prototypes - */ -char *getusername(void); - /* * static prototypes */ @@ -237,7 +232,7 @@ message_fd (char **vec) if (dup2 (fd, 1) == NOTOK || dup2 (fd, 2) == NOTOK) _exit (-1); closefds (3); - setpgid ((pid_t) 0, getpid ()); /* put in own process group */ + setpgid(0, getpid()); /* put in own process group */ if (execvp (vec[0], vec) == NOTOK) { _exit (-1); }