diff options
| author | Paul Eggert | 2011-07-04 22:27:49 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-04 22:27:49 -0700 |
| commit | 9cfdb3ec08672f13088ebd133bbc794c04a66b05 (patch) | |
| tree | 0e0b851de11b990831c7a0fc39ff97f00edfad93 /src/lisp.h | |
| parent | 6089c5670b18a02fc2caca3e665d2bb7799dc4c8 (diff) | |
| download | emacs-9cfdb3ec08672f13088ebd133bbc794c04a66b05.tar.gz emacs-9cfdb3ec08672f13088ebd133bbc794c04a66b05.zip | |
[ChangeLog]
Assume support for memcmp, memcpy, memmove, memset.
This simplifies the code a bit. All current platforms have these,
as they are required for C89. If this turns into a problem we
can add the gnulib modules for these (a 1-line change to Makefile.in).
* configure.in: Don't check for memcmp, memcpy, memmove, memset.
[lib-src/ChangeLog]
Assume support for memcmp, memcpy, memmove, memset.
* etags.c (absolute_filename): Assume memmove exists.
[src/ChangeLog]
Assume support for memcmp, memcpy, memmove, memset.
* lisp.h, sysdep.c (memcmp, memcpy, memmove, memset):
* regex.c (memcmp, memcpy):
Remove; we assume C89 now.
* gmalloc.c (memcpy, memset, memmove): Remove; we assume C89 now.
(__malloc_safe_bcopy): Remove; no longer needed.
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/lisp.h b/src/lisp.h index 2835302947f..cd3cfd316a5 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -3429,18 +3429,6 @@ extern EMACS_INT emacs_read (int, char *, EMACS_INT); | |||
| 3429 | extern EMACS_INT emacs_write (int, const char *, EMACS_INT); | 3429 | extern EMACS_INT emacs_write (int, const char *, EMACS_INT); |
| 3430 | enum { READLINK_BUFSIZE = 1024 }; | 3430 | enum { READLINK_BUFSIZE = 1024 }; |
| 3431 | extern char *emacs_readlink (const char *, char [READLINK_BUFSIZE]); | 3431 | extern char *emacs_readlink (const char *, char [READLINK_BUFSIZE]); |
| 3432 | #ifndef HAVE_MEMSET | ||
| 3433 | extern void *memset (void *, int, size_t); | ||
| 3434 | #endif | ||
| 3435 | #ifndef HAVE_MEMCPY | ||
| 3436 | extern void *memcpy (void *, void *, size_t); | ||
| 3437 | #endif | ||
| 3438 | #ifndef HAVE_MEMMOVE | ||
| 3439 | extern void *memmove (void *, void *, size_t); | ||
| 3440 | #endif | ||
| 3441 | #ifndef HAVE_MEMCMP | ||
| 3442 | extern int memcmp (void *, void *, size_t); | ||
| 3443 | #endif | ||
| 3444 | 3432 | ||
| 3445 | EXFUN (Funlock_buffer, 0); | 3433 | EXFUN (Funlock_buffer, 0); |
| 3446 | extern void unlock_all_files (void); | 3434 | extern void unlock_all_files (void); |