]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
ntp_optind needs a declaration, not a definition
authorHarlan Stenn <stenn@ntp.org>
Fri, 25 Aug 2006 06:24:00 +0000 (02:24 -0400)
committerHarlan Stenn <stenn@ntp.org>
Fri, 25 Aug 2006 06:24:00 +0000 (02:24 -0400)
bk: 44ee97803sktOCIERYZujPF5sNckNQ

ntpdc/ntpdc.c

index 2fe87b03fa4ec290e4df85e70d3e850c64547935..9126533396aa34e43015fc76247fed434aa414fe 100644 (file)
@@ -296,7 +296,7 @@ ntpdcmain(
        char *argv[]
        )
 {
-       int ntp_optind = 0;
+       extern int ntp_optind;
 
        delay_time.l_ui = 0;
        delay_time.l_uf = DEFDELAY;