summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2012-03-12 18:33:59 (GMT)
committerJason Evans <je@fb.com>2012-03-12 18:33:59 (GMT)
commit125b93e43fe764e46c8a89fc2f3957a4e02c92e1 (patch)
treef3efa35b1ebdc9b01da794bee633299703a9a4f4
parent7cca6085754736c7e4e51d27e2f0234e84806628 (diff)
downloadjemalloc-125b93e43fe764e46c8a89fc2f3957a4e02c92e1.zip
jemalloc-125b93e43fe764e46c8a89fc2f3957a4e02c92e1.tar.gz
jemalloc-125b93e43fe764e46c8a89fc2f3957a4e02c92e1.tar.bz2
Remove bashism.
Submitted by Mike Hommey.
-rwxr-xr-xinclude/jemalloc/internal/size_classes.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jemalloc/internal/size_classes.sh b/include/jemalloc/internal/size_classes.sh
index d8306a5..79b4ba2 100755
--- a/include/jemalloc/internal/size_classes.sh
+++ b/include/jemalloc/internal/size_classes.sh
@@ -13,7 +13,7 @@ lg_tmin=3
lg_pmin=12
lg_pmax=16
-function pow2() {
+pow2() {
e=$1
pow2_result=1
while [ ${e} -gt 0 ] ; do