Skip to content

Commit

Permalink
postject, refactor: change the type of postject_resource_sentinel res…
Browse files Browse the repository at this point in the history
…ult to const volatile char*.
  • Loading branch information
xicilion committed Oct 18, 2024
1 parent dc28e05 commit a170f18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postject/postject-api.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ inline void postject_options_init(struct postject_options* options)
options->pe_resource_name = NULL;
}

static inline volatile char* postject_resource_sentinel()
static inline const volatile char* postject_resource_sentinel()
{
static const volatile char* sentinel = POSTJECT_SENTINEL_FUSE ":0";
return sentinel;
Expand Down

0 comments on commit a170f18

Please sign in to comment.