summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-misc.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-08-02 23:33:48 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-08-02 23:33:48 +1000
commit048737c9bcf25a02932d17b74398082930ee817e (patch)
treefbe92e38285cff9e9c789b269ff1364572bb80e6 /openbsd-compat/bsd-misc.c
parent2e9c9cf702d8e90809d901ec51358406be6f810a (diff)
Remove unused variable.
Diffstat (limited to 'openbsd-compat/bsd-misc.c')
-rw-r--r--openbsd-compat/bsd-misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c
index 64de6945c..474aae1a6 100644
--- a/openbsd-compat/bsd-misc.c
+++ b/openbsd-compat/bsd-misc.c
@@ -25,7 +25,7 @@
25#include "includes.h" 25#include "includes.h"
26#include "xmalloc.h" 26#include "xmalloc.h"
27 27
28RCSID("$Id: bsd-misc.c,v 1.14 2003/08/02 13:31:42 dtucker Exp $"); 28RCSID("$Id: bsd-misc.c,v 1.15 2003/08/02 13:33:48 dtucker Exp $");
29 29
30/* 30/*
31 * NB. duplicate __progname in case it is an alias for argv[0] 31 * 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)
171pid_t 171pid_t
172tcgetpgrp(int fd) 172tcgetpgrp(int fd)
173{ 173{
174 int result, ctty_pgrp; 174 int ctty_pgrp;
175 175
176 if (ioctl(STDOUT_FILENO, TIOCGPGRP, &ctty_pgrp) == -1) 176 if (ioctl(STDOUT_FILENO, TIOCGPGRP, &ctty_pgrp) == -1)
177 return(-1); 177 return(-1);