Skip to content

Commit

Permalink
Restrict-qualify dst in base64_decode
Browse files Browse the repository at this point in the history
Definition restrict qualifies but not declaration in header.
  • Loading branch information
AreaZR committed Aug 13, 2024
1 parent f96e6d1 commit be3e917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/sudoers/parse.h
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ extern FILE *sudoersin;
extern char *sudoers;

/* base64.c */
size_t base64_decode(const char * restrict str, unsigned char *dst, size_t dsize);
size_t base64_decode(const char * restrict str, unsigned char * restrict dst, size_t dsize);
size_t base64_encode(const unsigned char * restrict in, size_t in_len, char * restrict out, size_t out_len);

/* timeout.c */
Expand Down

0 comments on commit be3e917

Please sign in to comment.