summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2012-03-04 20:20:22 +0400
committerIvan Maidanski <ivmai@mail.ru>2012-03-04 22:32:43 +0400
commitefbb78d25a78c4871d14a582f4fa35c515005be4 (patch)
tree1700cc6ae75a59963ce3803b3d166ed50bd6fe1d
parentfcea005dcbb83cc53c781c5c4f27c54d21dc86b5 (diff)
downloadlibatomic_ops-efbb78d25a78c4871d14a582f4fa35c515005be4.tar.gz
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.
-rw-r--r--src/atomic_ops_malloc.h14
1 files 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 <stdlib.h> /* For size_t */
+#include <stdlib.h> /* 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 */