FreeCalypso > hg > gsm-codec-lib
comparison hrutil/cod-parse.c @ 563:a563c7b17e16
hrutil/cod-parse.c: forgot extern int optind
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 12 Feb 2025 00:32:35 +0000 |
parents | 901753f59f88 |
children |
comparison
equal
deleted
inserted
replaced
562:901753f59f88 | 563:a563c7b17e16 |
---|---|
19 FILE *inf; | 19 FILE *inf; |
20 int big_endian; | 20 int big_endian; |
21 unsigned frame_no; | 21 unsigned frame_no; |
22 int16_t params[GSMHR_NUM_PARAMS_ENC]; | 22 int16_t params[GSMHR_NUM_PARAMS_ENC]; |
23 int opt, rc; | 23 int opt, rc; |
24 extern int optind; | |
24 | 25 |
25 big_endian = is_native_big_endian(); | 26 big_endian = is_native_big_endian(); |
26 while ((opt = getopt(argc, argv, "bl")) != EOF) { | 27 while ((opt = getopt(argc, argv, "bl")) != EOF) { |
27 switch (opt) { | 28 switch (opt) { |
28 case 'b': | 29 case 'b': |