|
|
| version 1.1, 2003/12/10 12:48:09 | version 1.2, 2003/12/10 13:27:18 |
|---|---|
| Line 23 void main(int argc, BYTE *argv[], BYTE * | Line 23 void main(int argc, BYTE *argv[], BYTE * |
| } | } |
| if (argc >= 3) { | if (argc >= 3) { |
| printf("static unsigned char %s[] = {\n", argv[2]); | printf("\nstatic const unsigned char %s[] = {\n", argv[2]); |
| } | } |
| else { | else { |
| int i; | int i; |
| Line 37 void main(int argc, BYTE *argv[], BYTE * | Line 37 void main(int argc, BYTE *argv[], BYTE * |
| out[i] = argv[1][i]; | out[i] = argv[1][i]; |
| } | } |
| out[i] = 0; | out[i] = 0; |
| printf("static unsigned char %s[] = {\n", out); | printf("\nstatic const unsigned char %s[] = {\n", out); |
| } | } |
| while(1) { | while(1) { |