summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-09-18 21:36:43 (GMT)
committerQi Wang <interwq@gmail.com>2017-09-21 19:18:10 (GMT)
commiteaa58a50267df6f5f2a5da38d654fd98fc4a1136 (patch)
treeaef3998bef47dbe97f4db28ef2424354cfddd22f /src
parentd60f3bac1237666922c16e7a1b281a2c7721863c (diff)
downloadjemalloc-eaa58a50267df6f5f2a5da38d654fd98fc4a1136.zip
jemalloc-eaa58a50267df6f5f2a5da38d654fd98fc4a1136.tar.gz
jemalloc-eaa58a50267df6f5f2a5da38d654fd98fc4a1136.tar.bz2
Put static keyword first.
Fix a warning by -Wold-style-declaration.
Diffstat (limited to 'src')
-rw-r--r--src/jemalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jemalloc.c b/src/jemalloc.c
index 3c0ea7d..4c31a2d 100644
--- a/src/jemalloc.c
+++ b/src/jemalloc.c
@@ -1730,7 +1730,7 @@ compute_size_with_overflow(bool may_overflow, dynamic_opts_t *dopts,
}
/* A size_t with its high-half bits all set to 1. */
- const static size_t high_bits = SIZE_T_MAX << (sizeof(size_t) * 8 / 2);
+ static const size_t high_bits = SIZE_T_MAX << (sizeof(size_t) * 8 / 2);
*size = dopts->item_size * dopts->num_items;