2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Put restrict qualifers in strvec_join function pointer

This commit is contained in:
Rose
2024-08-17 20:42:28 -04:00
committed by Todd C. Miller
parent 131e7e2de0
commit 77672d83c4
2 changed files with 3 additions and 3 deletions

View File

@@ -496,10 +496,10 @@ void canon_path_free(char *resolved);
void canon_path_free_cache(void);
/* strlcpy_unesc.c */
size_t strlcpy_unescape(char *restrict dst, const char *restrict src, size_t size);
size_t strlcpy_unescape(char * restrict dst, const char * restrict src, size_t size);
/* strvec_join.c */
char *strvec_join(char *const argv[], char sep, size_t (*cpy)(char *, const char *, size_t));
char *strvec_join(char *const argv[], char sep, size_t (*cpy)(char * restrict, const char * restrict, size_t));
/* unesc_str.c */
void unescape_string(char *str);