Skip to content

Commit 60b6f30

Browse files
LumioseSilmillert
authored andcommitted
Restrict-qualify dst in base64_decode
Definition restrict qualifies but not declaration in header.
1 parent f96e6d1 commit 60b6f30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/sudoers/parse.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ extern FILE *sudoersin;
446446
extern char *sudoers;
447447

448448
/* base64.c */
449-
size_t base64_decode(const char * restrict str, unsigned char *dst, size_t dsize);
449+
size_t base64_decode(const char * restrict str, unsigned char * restrict dst, size_t dsize);
450450
size_t base64_encode(const unsigned char * restrict in, size_t in_len, char * restrict out, size_t out_len);
451451

452452
/* timeout.c */

0 commit comments

Comments
 (0)