Remove unused variable.
This commit is contained in:
parent
2e9c9cf702
commit
048737c9bc
|
@ -25,7 +25,7 @@
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "xmalloc.h"
|
#include "xmalloc.h"
|
||||||
|
|
||||||
RCSID("$Id: bsd-misc.c,v 1.14 2003/08/02 13:31:42 dtucker Exp $");
|
RCSID("$Id: bsd-misc.c,v 1.15 2003/08/02 13:33:48 dtucker Exp $");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* NB. duplicate __progname in case it is an alias for argv[0]
|
* NB. duplicate __progname in case it is an alias for argv[0]
|
||||||
|
@ -171,7 +171,7 @@ int nanosleep(const struct timespec *req, struct timespec *rem)
|
||||||
pid_t
|
pid_t
|
||||||
tcgetpgrp(int fd)
|
tcgetpgrp(int fd)
|
||||||
{
|
{
|
||||||
int result, ctty_pgrp;
|
int ctty_pgrp;
|
||||||
|
|
||||||
if (ioctl(STDOUT_FILENO, TIOCGPGRP, &ctty_pgrp) == -1)
|
if (ioctl(STDOUT_FILENO, TIOCGPGRP, &ctty_pgrp) == -1)
|
||||||
return(-1);
|
return(-1);
|
||||||
|
|
Loading…
Reference in New Issue