Skip to content

Commit

Permalink
g_program is a better name to prevent variable shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrona committed Aug 2, 2021
1 parent 0368f53 commit 512cb66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/program.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ void program_to_header(u12_t *program, uint32_t size)
{
uint32_t i;

fprintf(stdout, "static const u12_t program[] = {");
fprintf(stdout, "static const u12_t g_program[] = {");

for (i = 0; i < size; i++) {
if (!(i % 16)) {
Expand Down

0 comments on commit 512cb66

Please sign in to comment.