diff options
| author | Paul Eggert | 2013-10-07 01:05:00 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-10-07 01:05:00 -0700 |
| commit | 223752d78f464f6cabafa76f32089300522d3ff4 (patch) | |
| tree | 757d9055bfb2a434d787a6280d8e4d5461302097 /src/lisp.h | |
| parent | 3c439e0a8410d713488b16af5842ad8ef0cddb04 (diff) | |
| download | emacs-223752d78f464f6cabafa76f32089300522d3ff4.tar.gz emacs-223752d78f464f6cabafa76f32089300522d3ff4.zip | |
emacs_read and emacs_write now use void *, not char *.
* alloc.c (valid_pointer_p) [!WINDOWSNT]: Remove now-unnecessary cast.
* sysdep.c (emacs_read, emacs_write, emacs_write_sig):
Buffer arg is now void *, not char *. This matches plain
'read' and 'write' better, and avoids a constraint violation
on Solaris 9 with Oracle Studio.
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lisp.h b/src/lisp.h index 2f0279ef542..c7f13e21e55 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -4085,9 +4085,9 @@ extern _Noreturn void emacs_abort (void) NO_INLINE; | |||
| 4085 | extern int emacs_open (const char *, int, int); | 4085 | extern int emacs_open (const char *, int, int); |
| 4086 | extern int emacs_pipe (int[2]); | 4086 | extern int emacs_pipe (int[2]); |
| 4087 | extern int emacs_close (int); | 4087 | extern int emacs_close (int); |
| 4088 | extern ptrdiff_t emacs_read (int, char *, ptrdiff_t); | 4088 | extern ptrdiff_t emacs_read (int, void *, ptrdiff_t); |
| 4089 | extern ptrdiff_t emacs_write (int, const char *, ptrdiff_t); | 4089 | extern ptrdiff_t emacs_write (int, void const *, ptrdiff_t); |
| 4090 | extern ptrdiff_t emacs_write_sig (int, char const *, ptrdiff_t); | 4090 | extern ptrdiff_t emacs_write_sig (int, void const *, ptrdiff_t); |
| 4091 | extern void emacs_perror (char const *); | 4091 | extern void emacs_perror (char const *); |
| 4092 | 4092 | ||
| 4093 | extern void unlock_all_files (void); | 4093 | extern void unlock_all_files (void); |