strlcpy_expand_host, sudo_getdelim, sudo_realpath: add restrict qualifier
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
* in which case the path which caused trouble is left in (resolved).
|
||||
*/
|
||||
char *
|
||||
sudo_realpath(const char *path, char *resolved)
|
||||
sudo_realpath(const char * restrict path, char * restrict resolved)
|
||||
{
|
||||
struct stat sb;
|
||||
int idx = 0, nlnk = 0;
|
||||
|
Reference in New Issue
Block a user