Skip to content

Commit

Permalink
add const to the ident
Browse files Browse the repository at this point in the history
  • Loading branch information
vladak committed Apr 29, 2024
1 parent e37a981 commit 16ae5ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/strsep.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <string.h>

static void
print_hex(char *ident, char *str, char *end)
print_hex(const char *ident, char *str, char *end)
{
printf("%-10s", ident);
for (char *p = str; p < end; p++)
Expand Down

0 comments on commit 16ae5ed

Please sign in to comment.