1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[tempname] const in the middle argument

This commit is contained in:
Witold Filipczyk 2022-01-30 17:41:15 +01:00
parent 2e32d1c7e1
commit e0e88dc5a7
2 changed files with 2 additions and 2 deletions

View File

@ -1032,7 +1032,7 @@ int isdirectory(char *path) {
return S_ISDIR(ss.st_mode);
}
char *tempname(char *dir, char *pfx, char *suff) {
char *tempname(char *dir, const char *pfx, char *suff) {
struct string path;
char *ret;
int fd;

View File

@ -52,7 +52,7 @@ int resize_window(int, int, int, int);
int can_resize_window(int);
int can_open_os_shell(int);
void set_highpri(void);
char *tempname(char *dir, char *pfx, char *suff);
char *tempname(char *dir, const char *pfx, char *suff);
#ifdef USE_OPEN_PREALLOC
int open_prealloc(char *, int, int, off_t);