Skip to content

Commit

Permalink
constify TAG in example.c
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Oct 10, 2024
1 parent dd4b7f5 commit 42e575a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/example/example.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

/* do NOT use upper case for variables. use `snake_case` instead of
* `CamelCase`. */
static char *tag = "example";
static const char *tag = "example";

/* prefix public function names with the component name, `example_` in this
* case. */
Expand Down

0 comments on commit 42e575a

Please sign in to comment.