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:
parent
2e32d1c7e1
commit
e0e88dc5a7
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user