From efbb78d25a78c4871d14a582f4fa35c515005be4 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Sun, 4 Mar 2012 20:20:22 +0400 Subject: Fix a typo in comment (Apply commit 529f91a from 'master' branch) * src/atomic_ops_malloc.h (AO_malloc_enable_mmap): Fix a typo in the comment. --- src/atomic_ops_malloc.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/atomic_ops_malloc.h b/src/atomic_ops_malloc.h index c55d27c..41987ed 100644 --- a/src/atomic_ops_malloc.h +++ b/src/atomic_ops_malloc.h @@ -1,32 +1,32 @@ /* * Copyright (c) 2005 Hewlett-Packard Development Company, L.P. - * + * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SOFTWARE. */ /* Almost lock-free malloc implementation based on stack implementation. */ -/* See README.malloc file for detailed usage rules. */ +/* See README.malloc file for detailed usage rules. */ #ifndef AO_ATOMIC_H #define AO_ATOMIC_H -#include /* For size_t */ +#include /* For size_t */ #include "atomic_ops_stack.h" @@ -38,7 +38,7 @@ void AO_free(void *); void * AO_malloc(size_t); -/* Allow use of mmpa to grow the heap. No-op on some platforms. */ +/* Allow use of mmap to grow the heap. No-op on some platforms. */ void AO_malloc_enable_mmap(void); #endif /* !AO_ATOMIC_H */ -- cgit v1.2.1