diff options
| author | Paul Eggert | 2016-06-11 23:48:13 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-06-11 23:49:00 -0700 |
| commit | 5932ffcd028af9fc70c9f8e731f2776a9753d81d (patch) | |
| tree | 4d9ab8f89fdc526146e5571f028147afde568e3d /src/buffer.c | |
| parent | eacdc9eb6c89346fb72535632a1c65f6483b639f (diff) | |
| download | emacs-5932ffcd028af9fc70c9f8e731f2776a9753d81d.tar.gz emacs-5932ffcd028af9fc70c9f8e731f2776a9753d81d.zip | |
emacs_strerror cleanups
* src/buffer.c, src/emacs.c, src/lread.c: Don’t include coding.h;
no longer needed, now that emacs_strerror is declared by lisp.h.
* src/coding.c (emacs_strerror): Remove; moved to emacs.c.
* src/coding.h (emacs_strerror) [emacs]: Remove decl; moved
to lisp.h.
* src/emacs.c (emacs_strerror): Move here from coding.c. Do not
convert result string; this is now the caller’s responsibility,
as some need conversion and others don’t.
* src/fileio.c (report_file_errno, report_file_notify_error):
Use emacs_strerror rather than rolling it ourselves.
* src/lisp.h (emacs_strerror): Move decl here from coding.h.
* src/lread.c (dir_warning): Just call emacs_strerror rather than
both strerror and emacs_strerror. Convert its result from
locale-coding-system, since it no longer does that conversion.
* src/sound.c (sound_perror):
* src/sysdep.c (emacs_perror, str_collate):
Use emacs_strerror, not strerror.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index af8c7324da1..b4b83043f36 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -30,7 +30,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 30 | #include <verify.h> | 30 | #include <verify.h> |
| 31 | 31 | ||
| 32 | #include "lisp.h" | 32 | #include "lisp.h" |
| 33 | #include "coding.h" | ||
| 34 | #include "intervals.h" | 33 | #include "intervals.h" |
| 35 | #include "systime.h" | 34 | #include "systime.h" |
| 36 | #include "window.h" | 35 | #include "window.h" |