summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-07-04 09:52:51 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-07-04 09:52:51 -0700
commit356e7178d24ca37e1b75c68489117001229725fe (patch)
tree4c6fff04ece2c9285a8d2edba920815aac5ab086 /src
parent95f61aa29aa5c38bbcb6f0f67741f0c04d21ba45 (diff)
downloademacs-356e7178d24ca37e1b75c68489117001229725fe.tar.gz
* alloc.c (PSEUDOVECTOR_NBYTES): Remove stray ';'
that causes compilation to fail on pre-C99 compilers.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/alloc.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ba9afdc7efc..7f81f1e6b68 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2012-07-04 Paul Eggert <eggert@cs.ucla.edu>
+
+ * alloc.c (PSEUDOVECTOR_NBYTES): Remove stray ';'
+ that causes compilation to fail on pre-C99 compilers.
+
2012-07-04 Juanma Barranquero <lekktu@gmail.com>
* s/ms-w32.h (LISP_FLOAT_TYPE, HAVE_MEMCMP, HAVE_MEMCPY)
diff --git a/src/alloc.c b/src/alloc.c
index bd68f2b31f2..ed5d6b5099f 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -3060,7 +3060,7 @@ allocate_vector_from_block (size_t nbytes)
#define PSEUDOVECTOR_NBYTES(vector) \
(PSEUDOVECTOR_TYPEP (&vector->header, PVEC_FREE) \
? vector->header.size & PSEUDOVECTOR_SIZE_MASK \
- : vector->header.next.nbytes);
+ : vector->header.next.nbytes)
/* Reclaim space used by unmarked vectors. */