]> granicus.if.org Git - procps-ng/commitdiff
tload: remote unneeded optarg and optind variables
authorCraig Small <csmall@debian.org>
Tue, 24 Nov 2009 00:00:42 +0000 (11:00 +1100)
committerCraig Small <csmall@enc.com.au>
Sun, 18 Dec 2011 11:53:30 +0000 (22:53 +1100)
A patch from Debian.

Backported-by: Sami Kerola <kerolasa@iki.fi>
tload.c

diff --git a/tload.c b/tload.c
index 14c0216647e2c71041d8041b2037dd0f7ae5f8bc..f846ecb8268b4e8ee991e27804aa6fcef6e8838e 100644 (file)
--- a/tload.c
+++ b/tload.c
@@ -30,9 +30,6 @@ static int fd=1;
 static int dly=5;
 static jmp_buf jb;
 
-extern int optind;
-extern char *optarg;
-
 static void alrm(int signo)
 {
     (void)signo;