mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-27 10:54:40 +00:00
Make opendir on MS-Windows accept a 'const char *'.
src/w32.c (opendir): Now accepts a 'const char *'. nt/inc/dirent.h (opendir): Update prototype.
This commit is contained in:
parent
6fd326b7ae
commit
cf01a35981
@ -1,3 +1,7 @@
|
||||
2013-01-28 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* inc/dirent.h (opendir): Update prototype.
|
||||
|
||||
2013-01-11 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
|
||||
|
@ -30,7 +30,7 @@ typedef struct
|
||||
char dd_buf[DIRBLKSIZ]; /* directory block */
|
||||
} DIR; /* stream data from opendir() */
|
||||
|
||||
extern DIR *opendir (char *);
|
||||
extern DIR *opendir (const char *);
|
||||
extern struct dirent *readdir (DIR *);
|
||||
extern void seekdir (DIR *, long);
|
||||
extern void closedir (DIR *);
|
||||
|
@ -1,3 +1,7 @@
|
||||
2013-01-28 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* w32.c (opendir): Now accepts a 'const char *'.
|
||||
|
||||
2013-01-28 Dmitry Antipov <dmantipov@yandex.ru>
|
||||
|
||||
Remove obsolete redisplay code. See the discussion at
|
||||
|
Loading…
Reference in New Issue
Block a user