X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=getopt.h;h=aea89a0a2bd45ee1d48f38bc3f5cb6c0d17a6511;hb=2c54544b48de2998eb657c89bce74d28751adec9;hp=bcbff179eb20d8b688eb8390e89fd4a53e712c81;hpb=7f12baed6f8d2592c07f09375fcb31bc6f00e8ab;p=openssl-gost%2Fengine.git diff --git a/getopt.h b/getopt.h index bcbff17..aea89a0 100644 --- a/getopt.h +++ b/getopt.h @@ -181,7 +181,7 @@ static void permute_args(int panonopt_start, int panonopt_end, int opt_end, char * const *nargv) { - int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; + int cyclelen, i, j, ncycle, nnonopts, nopts; char *swap; /* @@ -193,8 +193,8 @@ permute_args(int panonopt_start, int panonopt_end, int opt_end, cyclelen = (opt_end - panonopt_start) / ncycle; for (i = 0; i < ncycle; i++) { - cstart = panonopt_end+i; - pos = cstart; + int cstart = panonopt_end+i; + int pos = cstart; for (j = 0; j < cyclelen; j++) { if (pos >= panonopt_end) pos -= nnonopts;